diff --git a/Software/Software.cpp b/Software/Software.cpp index 387a5dbe..4ee2cfa0 100644 --- a/Software/Software.cpp +++ b/Software/Software.cpp @@ -34,7 +34,7 @@ #endif // The current software version, shown on webserver -const char* version_number = "9.1.dev"; +const char* version_number = "9.1.1"; // Interval timers volatile unsigned long currentMillis = 0; diff --git a/Software/src/devboard/webserver/settings_html.cpp b/Software/src/devboard/webserver/settings_html.cpp index eef9f425..7fac886a 100644 --- a/Software/src/devboard/webserver/settings_html.cpp +++ b/Software/src/devboard/webserver/settings_html.cpp @@ -750,7 +750,7 @@ const char* getCANInterfaceName(CAN_Interface interface) { function editError(){alert('Invalid input');} - function editSSID(){var value=prompt('Enter new SSID:');if(value!==null){var xhr=new + function editSSID(){var value=prompt('Which SSID to connect to. Enter new SSID:');if(value!==null){var xhr=new XMLHttpRequest();xhr.onload=editComplete;xhr.onerror=editError;xhr.open('GET','/updateSSID?value='+encodeURIComponent(value),true);xhr.send();}} function editPassword(){var value=prompt('Enter new password:');if(value!==null){var xhr=new @@ -981,6 +981,7 @@ const char* getCANInterfaceName(CAN_Interface interface) { #define SETTINGS_HTML_BODY \ R"rawliteral( +