diff --git a/src/hasp_debug.cpp b/src/hasp_debug.cpp index 739005ac..ea992d35 100644 --- a/src/hasp_debug.cpp +++ b/src/hasp_debug.cpp @@ -282,8 +282,8 @@ static void debugPrintLvglMemory(int level, Print * _logOutput) static void debugPrintPriority(int level, Print * _logOutput) { - if(_logOutput == &syslogClient) { - } + // if(_logOutput == &syslogClient) { + // } switch(level) { case LOG_LEVEL_FATAL: diff --git a/src/hasp_http.cpp b/src/hasp_http.cpp index d7681374..51cb24c7 100644 --- a/src/hasp_http.cpp +++ b/src/hasp_http.cpp @@ -1359,7 +1359,7 @@ void webHandleGpioOptions() } webSendFooter(); - if(webServer.hasArg(F("action"))) dispatchCommand(webServer.arg(F("action"))); + if(webServer.hasArg(F("action"))) dispatchTextLine(webServer.arg(F("action")).c_str()); } #endif // HASP_USE_GPIO diff --git a/test/hasp-lvgl.robot b/test/hasp-lvgl.robot index 086766b5..a75a213c 100644 --- a/test/hasp-lvgl.robot +++ b/test/hasp-lvgl.robot @@ -9,8 +9,8 @@ | | ... | ${property}=${property} | ${data}=${data} | | ${time} | Get Time | epoch | | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time} -| | ${topic} | Set Variable | hasp/platetelemetry/command -| | ${restopic} | Set Variable | hasp/platetelemetry/state/json +| | ${topic} | Set Variable | hasp/plate35/command +| | ${restopic} | Set Variable | hasp/plate35/state/json | | ${qos} | Set Variable | 1 | | ${message} | Set Variable | ${property}=${data} | | ${result} | Set Variable | {"${property}":"${data}"} @@ -31,8 +31,8 @@ | | ... | ${property}=${property} | ${data}=${data} | | ${time} | Get Time | epoch | | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time} -| | ${topic} | Set Variable | hasp/platetelemetry/command -| | ${restopic} | Set Variable | hasp/platetelemetry/state/page +| | ${topic} | Set Variable | hasp/plate35/command +| | ${restopic} | Set Variable | hasp/plate35/state/page | | ${qos} | Set Variable | 1 | | ${message} | Set Variable | ${property}=${data} | | Subscribe Async | client.id=${client} | topic=${restopic} @@ -50,8 +50,8 @@ | | ... | ${property}=${property} | ${data}=${data} | | ${time} | Get Time | epoch | | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time} -| | ${topic} | Set Variable | hasp/platetelemetry/command/${property} -| | ${restopic} | Set Variable | hasp/platetelemetry/state/page +| | ${topic} | Set Variable | hasp/plate35/command/${property} +| | ${restopic} | Set Variable | hasp/plate35/state/page | | ${qos} | Set Variable | 1 | | ${message} | Set Variable | ${data} | | Connect | ${broker.uri} | ${port} | ${client.id} | ${clean_session}