From 48cb13112f7a45e05aa1a1f3bcc8d54803d085a5 Mon Sep 17 00:00:00 2001 From: Brayan Almonte Date: Thu, 19 Dec 2024 12:28:23 -0500 Subject: [PATCH] fix(flex-stacker): add the channels for the 4th LED of the status bar. (#496) --- .../include/flex-stacker/flex-stacker/ui_task.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stm32-modules/include/flex-stacker/flex-stacker/ui_task.hpp b/stm32-modules/include/flex-stacker/flex-stacker/ui_task.hpp index 5cfcc1353..8b5f627ec 100644 --- a/stm32-modules/include/flex-stacker/flex-stacker/ui_task.hpp +++ b/stm32-modules/include/flex-stacker/flex-stacker/ui_task.hpp @@ -23,12 +23,12 @@ concept UIPolicyIface = requires(Policy& p) { &&is31fl::IS31FL_Policy; // There are 3 channels per color -using ChannelMapping = std::array; +using ChannelMapping = std::array; -static constexpr ChannelMapping white_channels{3, 4, 5}; -static constexpr ChannelMapping red_channels{6, 9, 12}; -static constexpr ChannelMapping green_channels{7, 10, 13}; -static constexpr ChannelMapping blue_channels{8, 11, 14}; +static constexpr ChannelMapping white_channels{2, 3, 4, 5}; +static constexpr ChannelMapping red_channels{6, 9, 12, 15}; +static constexpr ChannelMapping green_channels{7, 10, 13, 16}; +static constexpr ChannelMapping blue_channels{8, 11, 14, 17}; static auto color_to_channels(StatusBarColor color) -> const ChannelMapping& { switch (color) {