diff --git a/src/sensors.c b/src/sensors.c index 2b3b421a69..b2e0385bce 100755 --- a/src/sensors.c +++ b/src/sensors.c @@ -155,8 +155,8 @@ void batteryInit(void) voltage = batteryAdcToVoltage((uint16_t)(voltage / 32)); - // autodetect cell count, going from 2S..6S - for (i = 1; i < 6; i++) { + // autodetect cell count, going from 2S..8S + for (i = 1; i < 8; i++) { if (voltage < i * mcfg.vbatmaxcellvoltage) break; }