* fixed debug messages

This commit is contained in:
lumapu 2022-06-17 00:36:31 +02:00
parent 425ffdfc58
commit 7e2df351d9
6 changed files with 26 additions and 59 deletions

View file

@ -23,10 +23,10 @@
#include "crc.h"
#include "debug.h"
#ifdef DEBUG_HMMAIN
#define DBGMAIN(f,...) do { Serial.printf(PSTR(f), ##__VA_ARGS__); } while (0)
#ifdef DEBUG_MAIN
#define DBGMAIN(f) (DPRINTLN(f))
#else
#define DBGMAIN(x...) do { (void)0; } while (0)
#define DBGMAIN(f)
#endif
const byte mDnsPort = 53;