1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Battery Config PG version update - Fix for #7255

PR #7255 updated the batteryConfig_t structure but missed the PG version change.
This commit is contained in:
Bruce Luckcuck 2019-01-03 13:36:18 -05:00
parent 4778ad6c0f
commit 35318b93dd

View file

@ -90,7 +90,7 @@ static batteryState_e consumptionState;
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_NONE
#endif
PG_REGISTER_WITH_RESET_TEMPLATE(batteryConfig_t, batteryConfig, PG_BATTERY_CONFIG, 2);
PG_REGISTER_WITH_RESET_TEMPLATE(batteryConfig_t, batteryConfig, PG_BATTERY_CONFIG, 3);
PG_RESET_TEMPLATE(batteryConfig_t, batteryConfig,
// voltage