From 633f13bdbe0aced13691f9a324f0babcf13b3554 Mon Sep 17 00:00:00 2001 From: Matt Webb Date: Wed, 9 Sep 2026 20:42:40 +0100 Subject: [PATCH 1/2] =?UTF-8?q?feat(lvgl):=20eight=20displays=20=E2=80=94?= =?UTF-8?q?=20a=20body=20may=20be=20several=20panels=20(the=20hawthorn=20c?= =?UTF-8?q?alendar=20is=20seven)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ResidentLvglModule.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ResidentLvglModule.h b/src/ResidentLvglModule.h index a7c7b35..f1d8d2f 100644 --- a/src/ResidentLvglModule.h +++ b/src/ResidentLvglModule.h @@ -74,7 +74,11 @@ namespace Resident { class LvglModule : public Extension { public: - static constexpr int MAX_DISPLAYS = 4; + // Eight: a body may be several panels rather than one screen — the + // hawthorn calendar is seven e-paper panels, each its own display. A + // slot is a name, the options and a pointer; nothing is allocated until + // that display's first bind. + static constexpr int MAX_DISPLAYS = 8; struct DisplayOptions { int32_t dpi = 0; // 0 = leave LVGL's default From db226086fc9e301440dd3b4dde4e11f3cb403cd8 Mon Sep 17 00:00:00 2001 From: Matt Webb Date: Wed, 9 Sep 2026 20:56:34 +0100 Subject: [PATCH 2/2] =?UTF-8?q?feat(lvgl):=20eight=20displays=20=E2=80=94?= =?UTF-8?q?=20a=20device=20may=20be=20several=20panels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ResidentLvglModule.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ResidentLvglModule.h b/src/ResidentLvglModule.h index f1d8d2f..a241b52 100644 --- a/src/ResidentLvglModule.h +++ b/src/ResidentLvglModule.h @@ -74,10 +74,9 @@ namespace Resident { class LvglModule : public Extension { public: - // Eight: a body may be several panels rather than one screen — the - // hawthorn calendar is seven e-paper panels, each its own display. A - // slot is a name, the options and a pointer; nothing is allocated until - // that display's first bind. + // Eight: a device may be several panels rather than one screen, each + // registered as its own display. A slot is a name, the options and a + // pointer; nothing is allocated until that display's first bind. static constexpr int MAX_DISPLAYS = 8; struct DisplayOptions {