From 4dbc5d5707cd248b42ebdaba8fb794b7675816e2 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 17 Aug 2017 00:35:46 +0200 Subject: [PATCH] Update the example to work with the new LEDMode/LEDControl API Signed-off-by: Gergely Nagy --- examples/Kaleidoscope/Kaleidoscope.ino | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/Kaleidoscope/Kaleidoscope.ino b/examples/Kaleidoscope/Kaleidoscope.ino index eccbd377..68049678 100644 --- a/examples/Kaleidoscope/Kaleidoscope.ino +++ b/examples/Kaleidoscope/Kaleidoscope.ino @@ -65,13 +65,13 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { }; -static LEDSolidColor solidRed(60, 0, 0); -static LEDSolidColor solidOrange(60, 20, 0); -static LEDSolidColor solidYellow(40, 35, 0); -static LEDSolidColor solidGreen(0, 100, 0); -static LEDSolidColor solidBlue(0, 15, 100); -static LEDSolidColor solidIndigo(0, 0, 100); -static LEDSolidColor solidViolet(70, 0, 60); +static kaleidoscope::LEDSolidColor solidRed(60, 0, 0); +static kaleidoscope::LEDSolidColor solidOrange(60, 20, 0); +static kaleidoscope::LEDSolidColor solidYellow(40, 35, 0); +static kaleidoscope::LEDSolidColor solidGreen(0, 100, 0); +static kaleidoscope::LEDSolidColor solidBlue(0, 15, 100); +static kaleidoscope::LEDSolidColor solidIndigo(0, 0, 100); +static kaleidoscope::LEDSolidColor solidViolet(70, 0, 60); const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) { if (macroIndex == TOGGLENUMLOCK && keyToggledOn(keyState)) {