From de2cfe0a067a3bf7ba49ab9e0b2f56c881e7e8cc Mon Sep 17 00:00:00 2001 From: Carsten Schmiemann Date: Mon, 28 Nov 2022 00:04:55 +0100 Subject: [PATCH] Move batt_soc again --- src/display.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/display.cpp b/src/display.cpp index 2ee2a52..101223d 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -202,9 +202,9 @@ void display_screen_battery(float battery_voltage, float battery_amps, float bat display.setCursor(72,28); display.print(battery_amps,1); display.print("A"); display.setCursor(72,38); display.print(battery_wattage,0); display.print("W"); display.setFont(u8g2_font_inr19_mf); - if (battery_soc = 100) + if (battery_soc == 100) { - display.setCursor(65,63); + display.setCursor(60,63); } else {