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";