From e199497a78595eb3510674fd0b27f1ba3e90826c Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sun, 12 Nov 2023 21:51:19 +0700 Subject: [PATCH] Update espmega_iot_core.cpp --- src/espmega_iot_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index 587adad..02766af 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -541,7 +541,7 @@ void mqtt_callback(char *topic, byte *payload, unsigned int length) { ac_state_callback(topic, topic_length, payload_nt, length); } - user_mqtt_callback(topic_trim, topic_length, payload_nt, length); + user_mqtt_callback(topic, topic_length, payload_nt, length); } void thread_initialization()