Merge pull request #473 from gizmocuz/development

Fixed Voltage Sending in Sensebender
This commit is contained in:
Henrik Ekblad
2016-06-13 09:06:31 +02:00
committed by GitHub
@@ -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