From c407c9608b126e587787e918364fbc2eda6e52f0 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 8 Feb 2017 18:54:16 -0800 Subject: [PATCH] move matrix test setup to one place --- src/Keyboardio-Model01-TestMode.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Keyboardio-Model01-TestMode.cpp b/src/Keyboardio-Model01-TestMode.cpp index f763840a..6cdc096b 100644 --- a/src/Keyboardio-Model01-TestMode.cpp +++ b/src/Keyboardio-Model01-TestMode.cpp @@ -70,17 +70,13 @@ void TestMode_::test_leds(void) { LEDControl.led_sync(); } // set all the keys to red - LEDControl.set_all_leds_to(50,0,0); - // make all LEDs dim blue - // as you hit each key, set it to blue - // as you hit each key a second time, set it to green - // as you hit each key a third time, set it to off } void TestMode_::test_matrix () { + LEDControl.set_all_leds_to(50,0,0); while(1) { KeyboardHardware.read_matrix(); for (byte row = 0; row < 4; row++) {