aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergely Nagy <kaleidoscope@gergo.csillger.hu>2017-08-16 10:01:32 +0200
committerGergely Nagy <kaleidoscope@gergo.csillger.hu>2017-08-16 10:01:59 +0200
commit76afe3a280d743f7533466c789b58ff4fc2238cf (patch)
treed692aae210c126fb2fea4b72b5edc31319f36aed
parent747d42dc923061f89b5438d0419c6a13ea980271 (diff)
downloadModel01-Firmware-76afe3a280d743f7533466c789b58ff4fc2238cf.tar.gz
Model01-Firmware-76afe3a280d743f7533466c789b58ff4fc2238cf.zip
Updated to use the new LEDMode/LEDControl APIs
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
-rw-r--r--Model01-Firmware.ino14
1 files changed, 7 insertions, 7 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino
index 6dc07ea..9097284 100644
--- a/Model01-Firmware.ino
+++ b/Model01-Firmware.ino
@@ -88,13 +88,13 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
NUMPAD
};
-static LEDSolidColor solidRed(160, 0, 0);
-static LEDSolidColor solidOrange(140, 70, 0);
-static LEDSolidColor solidYellow(130, 100, 0);
-static LEDSolidColor solidGreen(0, 160, 0);
-static LEDSolidColor solidBlue(0, 70, 130);
-static LEDSolidColor solidIndigo(0, 0, 170);
-static LEDSolidColor solidViolet(130, 0, 120);
+static kaleidoscope::LEDSolidColor solidRed(160, 0, 0);
+static kaleidoscope::LEDSolidColor solidOrange(140, 70, 0);
+static kaleidoscope::LEDSolidColor solidYellow(130, 100, 0);
+static kaleidoscope::LEDSolidColor solidGreen(0, 160, 0);
+static kaleidoscope::LEDSolidColor solidBlue(0, 70, 130);
+static kaleidoscope::LEDSolidColor solidIndigo(0, 0, 170);
+static kaleidoscope::LEDSolidColor solidViolet(130, 0, 120);
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
if (macroIndex == TOGGLENUMLOCK && keyToggledOn(keyState)) {