From 18a67e679d2b793a93059dc3fb3587a703ecae02 Mon Sep 17 00:00:00 2001 From: liquidraver <504870+liquidraver@users.noreply.github.com> Date: Thu, 21 May 2026 09:14:10 +0200 Subject: [PATCH] =?UTF-8?q?Add=20the=20four=20sensor=20fields=20to=20struc?= =?UTF-8?q?t=20ui=5Fstate=20in=20ui-button/ui=5Fpages.h=20=E2=80=94=20keep?= =?UTF-8?q?s=20Calvario's=20incomplete=20API=20but=20it=20stays=20unused?= =?UTF-8?q?=20(still=20no=20callers).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zephcore/helpers/ui-button/ui_pages.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zephcore/helpers/ui-button/ui_pages.h b/zephcore/helpers/ui-button/ui_pages.h index 2ff8073..df1f6de 100644 --- a/zephcore/helpers/ui-button/ui_pages.h +++ b/zephcore/helpers/ui-button/ui_pages.h @@ -86,6 +86,12 @@ struct ui_state { /* LEDs page */ bool leds_disabled; /* true = LEDs off */ + /* Sensors page */ + int16_t temperature_c10; /* centi-degrees C */ + uint32_t pressure_pa; /* pascals */ + uint16_t humidity_rh10; /* 0.1% RH */ + uint16_t light_lux; /* lux */ + /* Current page */ enum ui_page current_page;