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() diff --git a/src/user_code.hpp b/src/user_code.hpp index 6b82013..657bfff 100644 --- a/src/user_code.hpp +++ b/src/user_code.hpp @@ -10,7 +10,7 @@ #define ESPMEGA_REV "ESPMega PRO R3.3b (CUD)" // Enable Software Module(s) -//#define ENABLE_INTERNAL_LCD // This will disable PC Communication +#define ENABLE_INTERNAL_LCD // This will disable PC Communication #define ENABLE_IR_MODULE #define ENABLE_CLIMATE_MODULE // Require IR Module #define ENABLE_WEBUI