added DBGXXX definitions to all header files

This commit is contained in:
stefan123t 2022-06-17 00:18:45 +02:00
parent 14c46e86bd
commit 17b186ee04
6 changed files with 91 additions and 184 deletions

View file

@ -11,6 +11,12 @@
#include "hmSystem.h"
#include "mqtt.h"
#ifdef DEBUG_APP
#define DBGAPP(f,...) do { Serial.printf(PSTR(f), ##__VA_ARGS__); } while (0)
#else
#define DBGAPP(x...) do { (void)0; } while (0)
#endif
typedef CircularBuffer<packet_t, PACKET_BUFFER_SIZE> BufferType;
typedef HmRadio<RF24_CE_PIN, RF24_CS_PIN, RF24_IRQ_PIN, BufferType> RadioType;
typedef Inverter<float> InverterType;