1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

CF/BF - rearrange the values in batteryConfig_t to reduce PG size.

This commit is contained in:
Hydra 2017-03-18 16:54:38 +00:00 committed by Dominic Clifton
parent 8145dfba0c
commit 85b05d3483

View file

@ -33,8 +33,8 @@ typedef struct batteryConfig_s {
voltageMeterSource_e voltageMeterSource; // source of battery voltage meter used, either ADC or ESC
// current
uint16_t batteryCapacity; // mAh
currentMeterSource_e currentMeterSource; // source of battery current meter used, either ADC, Virtual or ESC
uint16_t batteryCapacity; // mAh
// warnings / alerts
bool useVBatAlerts; // Issue alerts based on VBat readings