Fix compilation

This commit is contained in:
Theo Arends 2023-08-24 15:17:04 +02:00
parent 75e4a4654c
commit 9b6efc674d
2 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,10 @@
//#define USE_ENERGY_MARGIN_DETECTION
// #define USE_ENERGY_POWER_LIMIT
#ifndef MQTT_TELE_RETAIN
#define MQTT_TELE_RETAIN 0
#endif
#define ENERGY_NONE 0
#define ENERGY_WATCHDOG 4 // Allow up to 4 seconds before deciding no valid data present

View File

@ -26,6 +26,10 @@
#define XDRV_03 3
#define XSNS_03 3
#ifndef MQTT_TELE_RETAIN
#define MQTT_TELE_RETAIN 0
#endif
#define ENERGY_NONE 0
#define ENERGY_WATCHDOG 4 // Allow up to 4 seconds before deciding no valid data present