diff --git a/src/CHANGES.md b/src/CHANGES.md index 87e18bb3..d2170bf1 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,5 +1,8 @@ # Development Changes +## 0.8.117 - 2024-05-09 +* fix reboot issue #1607 + ## 0.8.116 - 2024-05-05 * calculation of max AC power * fix counter overflow communication queue diff --git a/src/app.cpp b/src/app.cpp index 8ee943da..a92a5f3c 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -481,7 +481,7 @@ void app:: zeroIvValues(bool checkAvail, bool skipYieldDay) { } if(changed) - payloadEventListener(RealTimeRunData_Debug, NULL); + payloadEventListener(RealTimeRunData_Debug, nullptr); } //----------------------------------------------------------------------------- diff --git a/src/defines.h b/src/defines.h index 16b21456..2d3a5ad4 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 8 -#define VERSION_PATCH 116 +#define VERSION_PATCH 117 //------------------------------------- typedef struct { uint8_t ch; diff --git a/src/plugins/MaxPower.h b/src/plugins/MaxPower.h index 34eeaf9f..a8db6909 100644 --- a/src/plugins/MaxPower.h +++ b/src/plugins/MaxPower.h @@ -34,6 +34,9 @@ class MaxPower { if(RealTimeRunData_Debug != cmd) return; + if(nullptr == iv) + return; + if(iv->id >= MAX_NUM_INVERTERS) return;