mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-01 20:09:17 +00:00
Add the four sensor fields to struct ui_state in ui-button/ui_pages.h — keeps Calvario's incomplete API but it stays unused (still no callers).
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user