mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Updating unit test to verify expected values with the new maximum
vbatscale value. See #104.
This commit is contained in:
parent
c2b1420c07
commit
107a3425cf
4 changed files with 20 additions and 10 deletions
|
@ -267,7 +267,7 @@ static void resetConf(void)
|
|||
masterConfig.yaw_control_direction = 1;
|
||||
masterConfig.gyroConfig.gyroMovementCalibrationThreshold = 32;
|
||||
|
||||
masterConfig.batteryConfig.vbatscale = 110;
|
||||
masterConfig.batteryConfig.vbatscale = VBAT_SCALE_DEFAULT;
|
||||
masterConfig.batteryConfig.vbatmaxcellvoltage = 43;
|
||||
masterConfig.batteryConfig.vbatmincellvoltage = 33;
|
||||
masterConfig.batteryConfig.currentMeterOffset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue