diff --git a/README.md b/README.md index 2e0e9e7..cee9faa 100644 --- a/README.md +++ b/README.md @@ -222,6 +222,9 @@ Work is in progress... --- ## Version history +#### v0.9.001 +- fixed compilation error netserver.cpp:63:28 for some configurations + #### v0.9.000 - added WEB Board Uploader. ESP32 Filesystem Uploader is no longer needed, the initial setup can be done in the browser. (see [wiki](https://github.com/e2002/yoradio/wiki/WEB-Board-Uploader) for more info) - fixed error getting weather for some locations diff --git a/yoRadio/src/core/netserver.cpp b/yoRadio/src/core/netserver.cpp index bc51447..d0e0996 100644 --- a/yoRadio/src/core/netserver.cpp +++ b/yoRadio/src/core/netserver.cpp @@ -60,7 +60,7 @@ bool NetServer::begin() { if(request->arg("ssid")!="" && request->arg("pass")!=""){ char buf[BUFLEN]; memset(buf, 0, BUFLEN); - snprintf(buf, BUFLEN, "%s\t%s", request->arg("ssid"), request->arg("pass")); + snprintf(buf, BUFLEN, "%s\t%s", request->arg("ssid").c_str(), request->arg("pass").c_str()); request->redirect("/"); config.saveWifiFromNextion(buf); return; diff --git a/yoRadio/src/core/options.h b/yoRadio/src/core/options.h index 1a54416..de8f8f6 100644 --- a/yoRadio/src/core/options.h +++ b/yoRadio/src/core/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define YOVERSION "0.9.000" +#define YOVERSION "0.9.001" /******************************************************* DO NOT EDIT THIS FILE.