change efficiency display for consumption in kWh/100km

This commit is contained in:
interfisch 2023-07-18 21:01:07 +02:00
parent 07ea359c53
commit afe0059b51
1 changed files with 5 additions and 5 deletions

View File

@ -229,12 +229,12 @@ void display_standingDisplay(ESCSerialComm& escFront, ESCSerialComm& escRear) {
display.print("Wh");
display.println();
display.print(F("Eff: "));
display.print(F(""));
//dtostrf( _displaytrip/1000/_displaycurrent ,1,2,buf);
dtostrf( _displaytrip/1000/_displaywatthours ,1,2,buf);
dtostrf( _displaywatthours/_displaytrip*100,1,2,buf);
display.print((String)buf);
//display.print(" km/Ah");
display.print(" km/Wh");
display.print(" kWh/100km");
if (_displayOverall){
display.print(" sum");