This commit is contained in:
1 parent
b71faa3bcb
commit
c5856a6f7a
41 files changed
+876
-875
No files matched your search
+12
-12
@@ -63,24 +63,24 @@
|
||||
#define EFFECT_FIREWORK_SHOT_CHANCE 200
|
||||
#define EFFECT_FIREWORK_BLUR 200
|
||||
#define EFFECT_FIREWORK_FADEOUT_SPEED 5
|
||||
|
||||
|
||||
|
||||
// Stop editing here
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef MQTT_ENABLE
|
||||
#include "my_mqtt.h"
|
||||
#define LOG(x) mqtt_log(x); Serial.print(x);
|
||||
#define LOGln(x) mqtt_log_ln(x); Serial.println(x);
|
||||
#else
|
||||
#define LOG(x) Serial.print(x);
|
||||
#define LOGln(x) Serial.println(x);
|
||||
#endif
|
||||
#ifdef MQTT_ENABLE
|
||||
#include "my_mqtt.h"
|
||||
#define LOG(x) mqtt_log(x); Serial.print(x);
|
||||
#define LOGln(x) mqtt_log_ln(x); Serial.println(x);
|
||||
#else
|
||||
#define LOG(x) Serial.print(x);
|
||||
#define LOGln(x) Serial.println(x);
|
||||
#endif
|
||||
#else
|
||||
#define LOG(x) do {} while(0);
|
||||
#define LOGln(x) do {} while(0);
|
||||
#define LOG(x) do {} while(0);
|
||||
#define LOGln(x) do {} while(0);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USABLE
|
||||
#error "CONFIG_USABLE isn't set!"
|
||||
#error "CONFIG_USABLE isn't set!"
|
||||
#endif
|
||||
Reference in new issue
Block a user