diff --git a/src/TTGO_T-Beam_LoRa_APRS.ino b/src/TTGO_T-Beam_LoRa_APRS.ino index 22b1a20..87cffa4 100644 --- a/src/TTGO_T-Beam_LoRa_APRS.ino +++ b/src/TTGO_T-Beam_LoRa_APRS.ino @@ -356,7 +356,7 @@ void batt_read(){ BattVolts = axp.getBattVoltage()/1000; InpVolts = axp.getVbusVoltage()/1000; #else - BattVolts = analogRead(35)*7.221/4096; + BattVolts = analogRead(35)*7.221/8192; // fixed thanks to Luca IU2FRL #endif } @@ -1053,4 +1053,4 @@ void loop() { #endif #endif vTaskDelay(1); -} \ No newline at end of file +}