mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 23:46:37 +02:00
* fixed debug messages
This commit is contained in:
parent
425ffdfc58
commit
7e2df351d9
6 changed files with 26 additions and 59 deletions
|
@ -17,9 +17,9 @@
|
|||
#include "mqtt.h"
|
||||
|
||||
#ifdef DEBUG_APP
|
||||
#define DBGAPP(f,...) do { Serial.printf(PSTR(f), ##__VA_ARGS__); } while (0)
|
||||
#define DBGAPP(f) (DPRINTLN(f))
|
||||
#else
|
||||
#define DBGAPP(x...) do { (void)0; } while (0)
|
||||
#define DBGAPP(f)
|
||||
#endif
|
||||
|
||||
typedef CircularBuffer<packet_t, PACKET_BUFFER_SIZE> BufferType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue