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:
Theo Arends 2020-10-12 13:37:12 +02:00 committed by GitHub
commit b52dee2bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ typedef struct {
uint8_t ota_loader; // 293 uint8_t ota_loader; // 293
unsigned long energy_kWhtoday; // 294 unsigned long energy_kWhtoday; // 294
unsigned long energy_kWhtotal; // 298 unsigned long energy_kWhtotal; // 298
unsigned long pulse_counter[MAX_COUNTERS]; // 29C volatile unsigned long pulse_counter[MAX_COUNTERS]; // 29C
power_t power; // 2AC power_t power; // 2AC
EnergyUsage energy_usage; // 2B0 EnergyUsage energy_usage; // 2B0
unsigned long nextwakeup; // 2C8 unsigned long nextwakeup; // 2C8