From 90b313716573f4c0e04c1a9dccdbccbfcacd71cb Mon Sep 17 00:00:00 2001 From: mattbk Date: Wed, 6 Sep 2023 20:14:16 -0500 Subject: [PATCH] Shelve. --- vulpes/src/main.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/vulpes/src/main.cpp b/vulpes/src/main.cpp index 4699ac2..d126918 100644 --- a/vulpes/src/main.cpp +++ b/vulpes/src/main.cpp @@ -61,32 +61,31 @@ int yourProgramRunning; // HTML web page to handle 3 input fields (inputString, inputSend, inputFloat) const char index_html[] PROGMEM = R"rawliteral( + ESP Input Form @@ -117,7 +116,6 @@ const char index_html[] PROGMEM = R"rawliteral(

- @@ -125,12 +123,15 @@ const char index_html[] PROGMEM = R"rawliteral( - + + )rawliteral"; // Auxiliary variables to store the current output state @@ -218,6 +219,7 @@ String processor(const String& var){ else if(var == "inputFloat"){ return readFile(SPIFFS, "/inputFloat.txt"); } else if(var == "inputStartTimeUnix"){ + // Webform breaks if this value is empty. String temp = readFile(SPIFFS, "/inputStartTimeUnix.txt"); if(temp == ""){ temp = "0";