Small updates

This commit is contained in:
fvanroie 2020-11-09 01:05:50 +01:00
parent 879a0288cc
commit df9501cdbf
3 changed files with 9 additions and 9 deletions

View File

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

View File

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

View File

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