This commit is contained in:
e2002
2023-03-05 12:57:34 +03:00
parent 834decd483
commit 85002490ed
3 changed files with 5 additions and 2 deletions

View File

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

View File

@@ -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.