From 0b9c5db60574e6986b613da4a3c96fa916e35d1b Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 20 Apr 2024 19:48:50 +0200 Subject: [PATCH] fix: color format --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index eb7742f..0a8ed4d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,12 +18,13 @@ use panic_halt as _; const BUTTON_TIMEOUT: u64 = SystemTimer::TICKS_PER_SECOND / 10; const COLORS: [[u8; 3]; 6] = [ + // G B R + [0, 0, 1], + [1, 0, 1], [1, 0, 0], [1, 1, 0], [0, 1, 0], [0, 1, 1], - [0, 0, 1], - [1, 0, 1], ]; static BUTTON: Mutex, 9>>>> = Mutex::new(RefCell::new(None));