mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Fixed tests
This commit is contained in:
parent
979e56e14d
commit
f084840f06
3 changed files with 12 additions and 0 deletions
|
@ -260,6 +260,9 @@ extern "C" {
|
|||
uint16_t getBatteryVoltage(void) {
|
||||
return testBatteryVoltage;
|
||||
}
|
||||
uint16_t getLegacyBatteryVoltage(void) {
|
||||
return (testBatteryVoltage + 5) / 10;
|
||||
}
|
||||
uint16_t getBatteryAverageCellVoltage(void) {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue