mirror of https://github.com/arendst/Tasmota.git
Merge pull request #9521 from stefanbode/patch-2
Prevent crashes on high counter pulse. e.g. AC-Dimmer, Current-Counte…
This commit is contained in:
commit
b52dee2bd3
|
@ -673,7 +673,7 @@ typedef struct {
|
|||
uint8_t ota_loader; // 293
|
||||
unsigned long energy_kWhtoday; // 294
|
||||
unsigned long energy_kWhtotal; // 298
|
||||
unsigned long pulse_counter[MAX_COUNTERS]; // 29C
|
||||
volatile unsigned long pulse_counter[MAX_COUNTERS]; // 29C
|
||||
power_t power; // 2AC
|
||||
EnergyUsage energy_usage; // 2B0
|
||||
unsigned long nextwakeup; // 2C8
|
||||
|
|
Loading…
Reference in New Issue