diff options
author | Gergely Nagy <algernon@users.noreply.github.com> | 2017-08-17 00:27:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 00:27:15 +0200 |
commit | d0e5e80479c51a5241ab01d2713ac508fe0e0e06 (patch) | |
tree | f4f4987900a80fe3c41c5aa0bf6d454766a750ef | |
parent | 0738d12c8ca4c8b155b4101a4e2ba9cd97a97934 (diff) | |
parent | 76afe3a280d743f7533466c789b58ff4fc2238cf (diff) | |
download | Model01-Firmware-d0e5e80479c51a5241ab01d2713ac508fe0e0e06.tar.gz 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.ino | 14 |
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)) { |