summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergely Nagy <algernon@users.noreply.github.com>2017-08-17 00:27:15 +0200
committerGitHub <noreply@github.com>2017-08-17 00:27:15 +0200
commitd0e5e80479c51a5241ab01d2713ac508fe0e0e06 (patch)
treef4f4987900a80fe3c41c5aa0bf6d454766a750ef
parent0738d12c8ca4c8b155b4101a4e2ba9cd97a97934 (diff)
parent76afe3a280d743f7533466c789b58ff4fc2238cf (diff)
downloadmodel01-firmware-d0e5e80479c51a5241ab01d2713ac508fe0e0e06.tar.gz
model01-firmware-d0e5e80479c51a5241ab01d2713ac508fe0e0e06.tar.bz2
model01-firmware-d0e5e80479c51a5241ab01d2713ac508fe0e0e06.zip
Merge pull request #12 from algernon/f/led-api-update
Updated to use the new LEDMode/LEDControl APIs
-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)) {