Skip to content
Snippets Groups Projects
Commit 480a849a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix total-disablement of MQTT support in previous crash-fix-commit

parent 29460b51
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3579 passed
......@@ -473,7 +473,7 @@ int mqtt_startup(struct startup* startup, scfg_t* cfg, const char* version
int result = MQTT_FAILURE;
char str[128];
if(startup == NULL || startup->mqtt.cfg == NULL)
if(startup == NULL || cfg == NULL)
return MQTT_FAILURE;
if(!cfg->mqtt.enabled)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment