mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 15:36:38 +02:00
* fixed debug messages
This commit is contained in:
parent
425ffdfc58
commit
7e2df351d9
6 changed files with 26 additions and 59 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue