From 77ac64dfa2e6eac6231457d872db8aa4902dee7a Mon Sep 17 00:00:00 2001 From: lumapu Date: Fri, 9 Aug 2024 16:43:57 +0200 Subject: [PATCH] 0.8.132 * fix boot loop once no ePaper is connected #1713, #1714 --- src/CHANGES.md | 3 +++ src/defines.h | 2 +- src/plugins/Display/Display.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/CHANGES.md b/src/CHANGES.md index 93cf6c12..aa6ab51d 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,5 +1,8 @@ # Development Changes +## 0.8.132 - 2024-08-09 +* fix boot loop once no ePaper is connected #1713, #1714 + ## 0.8.131 - 2024-08-08 * improved refresh routine of ePaper, full refresh each 12h #1107 #1706 diff --git a/src/defines.h b/src/defines.h index a4b1468f..5b2032a2 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 8 -#define VERSION_PATCH 131 +#define VERSION_PATCH 132 //------------------------------------- typedef struct { uint8_t ch; diff --git a/src/plugins/Display/Display.h b/src/plugins/Display/Display.h index 931eeaa7..1694fec6 100644 --- a/src/plugins/Display/Display.h +++ b/src/plugins/Display/Display.h @@ -74,7 +74,7 @@ class Display { void loop() { #if defined(ESP32) && !defined(ETHERNET) - if (DISP_TYPE_T10_EPAPER == mCfg->type) { + if ((nullptr != mCfg) && (DISP_TYPE_T10_EPAPER == mCfg->type)) { mEpaper.refreshLoop(); } #endif