M harmony_changelog.md => harmony_changelog.md +1 -0
@@ 6,6 6,7 @@
* Fixed eink errors in logs
* Fixed alarm when the onboarding is in progress
* Fixed relaxation start delay when trying to play MP3 files with large metadata
+* Fixed eink crash while refreshing
### Added
* Added shortcuts instruction to settings
M module-services/service-eink/ServiceEink.cpp => module-services/service-eink/ServiceEink.cpp +1 -1
@@ 343,7 343,7 @@ namespace service::eink
previousContext->insert(0, 0, ctx);
}
}
- if (previousRefreshStatus == RefreshStatus::Failed) {
+ if ((previousRefreshStatus == RefreshStatus::Failed) && !updateFrames.empty()) {
updateFrames.front() = {0, 0, BOARD_EINK_DISPLAY_RES_X, BOARD_EINK_DISPLAY_RES_Y};
}