Better debug defines

This commit is contained in:
hsaturn
2021-03-22 02:32:45 +01:00
parent 54c905a32f
commit 0cb2e99b4b
2 changed files with 5 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
#include <sstream>
#include <Streaming.h>
#if 1
#if TINY_MQTT_DEBUG
#define debug(what) { Serial << __LINE__ << ' ' << what << endl; delay(100); }
#else
#define debug(what) {}