Merge pull request #473 from gizmocuz/development
Fixed Voltage Sending in Sensebender
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user