We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da88ba5 commit 1758f49Copy full SHA for 1758f49
Firmware/RTK_Everywhere/MQTT_Client.ino
@@ -407,11 +407,14 @@ void mqttClientShutdown()
407
// Start the MQTT client
408
void mqttClientStart()
409
{
410
- // Display the heap state
411
- reportHeapNow(settings.debugMqttClientState);
+ if (settings.debugMqttClientState)
+ {
412
+ // Display the heap state
413
+ reportHeapNow(settings.debugMqttClientState);
414
- // Start the MQTT client
- systemPrintln("MQTT Client start");
415
+ // Start the MQTT client
416
+ systemPrintln("MQTT Client start");
417
+ }
418
mqttClientStop(false);
419
}
420
0 commit comments