From 79d270f422c5f22f6a6bd9727a54a63af3a27410 Mon Sep 17 00:00:00 2001 From: Cyril Fougeray Date: Wed, 18 Sep 2024 11:37:35 +0200 Subject: [PATCH] rgb: add dimming value when supported, the dimming value will be used --- messages/mcu_messaging_main.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/messages/mcu_messaging_main.proto b/messages/mcu_messaging_main.proto index 81311cc..67c8b3f 100644 --- a/messages/mcu_messaging_main.proto +++ b/messages/mcu_messaging_main.proto @@ -159,6 +159,10 @@ message RgbColor uint32 red = 1; // [0...255] uint32 green = 2; // [0...255] uint32 blue = 3; // [0...255] + uint32 dimming = + 4; // [1...31] from low to high brightness. + // /!\ 0 (default if unused) will use full brightness (31) + // the value is clamped to 31 } // Control brightness and pattern of front-mounted UX/user LEDs. @@ -798,7 +802,8 @@ message BatteryResetReason message ConePresent { bool cone_present = 1; } -message ShutdownScheduled { +message ShutdownScheduled +{ enum ShutdownReason { UNSPECIFIED = 0; BATTERY_REMOVED = 1;