fixed test mqtt message channel

This commit is contained in:
Bogdan Pilyugin 2023-08-28 13:00:25 +02:00
parent fb552427d6
commit 77ff79b8bf

View File

@ -88,7 +88,7 @@ static void funct_mqtt_2_test(char *argres, int rw)
{
if (GetSysConf()->mqttStation[1].Flags1.bIsGlobalEnabled)
PublicTestMQTT(1);
snprintf(argres, VAR_MAX_VALUE_LENGTH, (GetSysConf()->mqttStation[0].Flags1.bIsGlobalEnabled) ? "\"OK\"" : "\"NOT_AVAIL\"");
snprintf(argres, VAR_MAX_VALUE_LENGTH, (GetSysConf()->mqttStation[1].Flags1.bIsGlobalEnabled) ? "\"OK\"" : "\"NOT_AVAIL\"");
}
static void funct_def_interface(char *argres, int rw)