correction pb avec les PSTR
This commit is contained in:
parent
048167311d
commit
f35138ebfe
|
@ -184,10 +184,10 @@ void handleFormConfig(void)
|
||||||
|
|
||||||
if ( saveConfig() ) {
|
if ( saveConfig() ) {
|
||||||
ret = 200;
|
ret = 200;
|
||||||
response = PSTR("OK");
|
response = "OK";
|
||||||
} else {
|
} else {
|
||||||
ret = 412;
|
ret = 412;
|
||||||
response = PSTR("Unable to save configuration");
|
response = "Unable to save configuration";
|
||||||
}
|
}
|
||||||
|
|
||||||
showConfig();
|
showConfig();
|
||||||
|
@ -195,7 +195,7 @@ void handleFormConfig(void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ret = 400;
|
ret = 400;
|
||||||
response = PSTR("Missing Form Field");
|
response = "Missing Form Field";
|
||||||
}
|
}
|
||||||
|
|
||||||
DebugF("Sending response ");
|
DebugF("Sending response ");
|
||||||
|
|
Loading…
Reference in New Issue