From c8d4ef6a9bbb98a4ec15ed54fa0a3b01bc32dcf3 Mon Sep 17 00:00:00 2001 From: Tuan PM Date: Sat, 5 Aug 2017 18:50:17 +0800 Subject: [PATCH] add define log --- src/ESP8266MQTTClient.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ESP8266MQTTClient.h b/src/ESP8266MQTTClient.h index c56487c..ade0500 100644 --- a/src/ESP8266MQTTClient.h +++ b/src/ESP8266MQTTClient.h @@ -39,9 +39,9 @@ License (MIT license): #endif // #endif -// #ifndef LOG -// #define LOG(...) -// #endif +#ifndef LOG +#define LOG(...) +#endif #define MQTT_CHECK(cond, msg, ret) if(cond){LOG(msg); return ret;} #define DEFAULT_MQTT_PORT 1883