mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-27 17:23:51 +00:00
Allow up to 8 cycles to charge capacitor
This commit is contained in:
@@ -30,6 +30,7 @@ ADC_MODE(ADC_VCC);
|
||||
#include "ZmartChargeCloudConnector.h"
|
||||
#endif
|
||||
|
||||
#define MAX_BOOT_CYCLES 8
|
||||
#define WDT_TIMEOUT 120
|
||||
#if defined(SLOW_PROC_TRIGGER_MS)
|
||||
#warning "Using predefined slow process trigger"
|
||||
@@ -191,8 +192,6 @@ CloudConnector *cloud = NULL;
|
||||
ZmartChargeCloudConnector *zcloud = NULL;
|
||||
#endif
|
||||
|
||||
#define MAX_BOOT_CYCLES 6
|
||||
|
||||
#if defined(ESP32)
|
||||
__NOINIT_ATTR EnergyAccountingRealtimeData rtd;
|
||||
RTC_DATA_ATTR uint8_t bootcount = 0;
|
||||
|
||||
Reference in New Issue
Block a user