From ec45a14bbeedfe06a314d43c09885e4f685f3add Mon Sep 17 00:00:00 2001 From: Carsten Schmiemann Date: Sun, 13 Nov 2022 19:57:10 +0100 Subject: [PATCH] Reset defaults --- src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f90e599..36cf41c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -63,9 +63,9 @@ char address_battery[6] = ""; char address_outside_temperature[6] = ""; char display_lang[6] = ""; char time_zone[40] = "CET-1CEST,M3.5.0,M10.5.0/3"; // Europe/Berlin -char time_server[20] = "pool.ntp.org"; -char show_graph[4] = "no"; -char show_statistics[4] = "no"; +char time_server[20] = ""; +char show_graph[4] = ""; +char show_statistics[4] = ""; long unsigned int DISPLAY_REFRESH_INTERVAL; long unsigned int DISPLAY_SCREEN_INTERVAL; @@ -383,8 +383,8 @@ void setup() { WiFiManagerParameter custom_display_lang("display_lang", "Display language en, de", display_lang, 6); WiFiManagerParameter custom_time_zone("time_zone", "Set timezone string", time_zone, 40); WiFiManagerParameter custom_time_server("time_server", "Set time server", time_server, 20); - WiFiManagerParameter custom_show_graph("show_graph", "Show PV graph", show_graph, 4); - WiFiManagerParameter custom_show_statistics("show_statistics", "Show statistics screen", show_statistics, 4); + WiFiManagerParameter custom_show_graph("show_graph", "Show PV graph yes=enable", show_graph, 4); + WiFiManagerParameter custom_show_statistics("show_statistics", "Show statistics screen yes=enable", show_statistics, 4); WiFiManager wm; wm.setSaveConfigCallback(saveConfigCallback);