Skip to content

Commit

Permalink
MQTT: Use LOGEXT instead of LOGN (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
steff393 committed Aug 26, 2023
1 parent d72f25a commit 95d2ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void callback(char* topic, byte* payload, uint8_t length)
buffer[i] = (char)payload[i];
}
buffer[length] = '\0'; // add string termination
LOGN(m, "Received: %s, Payload: %s", topic, buffer)
LOGEXT(m, "Received: %s, Payload: %s", topic, buffer)

// topics for openWB
if (strstr_P(topic, PSTR("openWB/lp/")) && strstr_P(topic, PSTR("/AConfigured"))) {
Expand Down

0 comments on commit 95d2ee5

Please sign in to comment.