Enhance EInkDisplayHandler and LVGLHandler with deep sleep functionality and partial refresh improvements

This commit is contained in:
GW_MC
2026-01-27 19:12:37 +08:00
parent dc2a76e131
commit de2f166151
5 changed files with 343 additions and 80 deletions

View File

@@ -7,7 +7,6 @@
#include "esp_err.h"
#include <memory>
class LVGLHandler {
public:
LVGLHandler(
@@ -34,6 +33,8 @@ private:
lv_draw_buf_t* lvgl_draw_buf_ = nullptr;
uint8_t* framebuffer_ = nullptr;
bool framebuffer_in_psram_ = false;
RefreshArea refresh_area_ = { 0, 0, 0, 0 };
SemaphoreHandle_t lvgl_mutex_ = nullptr;
};