Skip to content

Commit c486d0e

Browse files
committed
glcd.cpp: write settings immediately when exiting menu.
1 parent ba44a0e commit c486d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SmartEVSE-3/src/glcd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ void GLCDMenu(uint8_t Buttons) {
13591359
setChargeDelay(0); // Clear ChargeDelay
13601360
setSolarStopTimer(0); // Disable Solar Timer
13611361
GLCD();
1362-
request_write_settings(); // Write to nvs
1362+
write_settings(); // Write immediately to nvs when exiting menu
13631363
ButtonRelease = 2; // Skip updating of the LCD
13641364
PairingPin = ""; // Reset PairingPin
13651365
}

0 commit comments

Comments
 (0)