Fixed Voltage Sending in Sensebender

This commit is contained in:
gizmocuz
2016-06-13 07:40:38 +02:00
parent 1336da125b
commit 1c7385f1f1
@@ -291,7 +291,8 @@ void sendBattLevel(bool force)
lastBattery = vcc;
#ifdef BATT_SENSOR
send(msgBatt.set(vcc));
float send_voltage = float(vcc)/1000.0f;
send(msgBatt.set(send_voltage,3));
#endif
// Calculate percentage