From 10204fb2c56a82af990c0867d691fedc65cc2a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= Date: Tue, 26 Dec 2017 07:26:35 +0100 Subject: [PATCH] Code cleaning --- LibreMetric.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibreMetric.ino b/LibreMetric.ino index 24f48ad..3154f4a 100644 --- a/LibreMetric.ino +++ b/LibreMetric.ino @@ -84,6 +84,7 @@ void setup() { #ifndef DEBUG_WifiM wifiManager.setDebugOutput(false); // no debug #endif + wifiManager.setTimeout(180); wifiManager.setAPCallback(configModeCallback); if(!wifiManager.autoConnect("LibreMetric")) { @@ -128,7 +129,6 @@ void loop() { matrix.fillScreen(LOW); time_t now = time(nullptr); String time = String(ctime(&now)); - //Serial.println(time); time.trim(); time.substring(11,19).toCharArray(time_value, 10); int seconds = time.substring(17,19).toInt();