From 077d781cf191a1b0c31910b471c939109dbd9f99 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Wed, 13 Jan 2016 14:50:45 -0800 Subject: [PATCH] Disabling rainbow by default --- Macro/PixelMap/pixel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Macro/PixelMap/pixel.c b/Macro/PixelMap/pixel.c index 98b213b..067f93a 100644 --- a/Macro/PixelMap/pixel.c +++ b/Macro/PixelMap/pixel.c @@ -2620,9 +2620,11 @@ inline void Pixel_process() rainbow_pos++; Pixel_testMode = PixelTest_Off; - if ( rainbow_pos >= sizeof( rainbow_frames ) ) + if ( rainbow_pos >= sizeof( rainbow_frames ) / 2 ) + { rainbow_pos = 0; goto pixel_process_done; + } default: break; @@ -2631,6 +2633,7 @@ inline void Pixel_process() // Start from the top of the Animation Stack // TODO + /* // XXX Temp - Play rainbow Pixel_pixelProcess( rainbow_frames[rainbow_pos], rainbow_framesizes[rainbow_pos] ); rainbow_pos++; @@ -2640,6 +2643,7 @@ inline void Pixel_process() { rainbow_pos = 0; } + */ pixel_process_done: