Skip to content

Commit

Permalink
add define log
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanpmt committed Aug 5, 2017
1 parent 3af18fd commit c8d4ef6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ESP8266MQTTClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8d4ef6

Please sign in to comment.