diff --git a/EleksTubeHAX_pio/src/Mqtt_client_ips.cpp b/EleksTubeHAX_pio/src/Mqtt_client_ips.cpp index 53a4c8c..afee121 100644 --- a/EleksTubeHAX_pio/src/Mqtt_client_ips.cpp +++ b/EleksTubeHAX_pio/src/Mqtt_client_ips.cpp @@ -417,6 +417,10 @@ void checkMqtt() { } void callback(char* topic, byte* payload, unsigned int length) { // A new message has been received + #ifdef DEBUG_OUTPUT + Serial.print("Received MQTT topic: "); + Serial.print(topic); // long output + #endif int commandNumber = 10; char* command[commandNumber]; commandNumber = splitCommand(topic, command, commandNumber);