From 47c1e23fed6762a4a0653eb245803b8855336fe0 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 1 Jan 2020 17:44:07 +0100 Subject: [PATCH] device/Raise: Fix the color component order in raise::Hand's cRGB The order of components should be bgr, not rgb. Signed-off-by: Gergely Nagy --- src/kaleidoscope/device/dygma/raise/Hand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kaleidoscope/device/dygma/raise/Hand.h b/src/kaleidoscope/device/dygma/raise/Hand.h index d82f23c9..261fb6ed 100644 --- a/src/kaleidoscope/device/dygma/raise/Hand.h +++ b/src/kaleidoscope/device/dygma/raise/Hand.h @@ -24,9 +24,9 @@ #include "TWI.h" struct cRGB { - uint8_t r; - uint8_t g; uint8_t b; + uint8_t g; + uint8_t r; }; namespace kaleidoscope {