aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Vincent <jesse@keyboard.io>2017-02-19 18:27:31 -0800
committerJesse Vincent <jesse@keyboard.io>2017-02-19 18:27:31 -0800
commitf32f14a5c2f44176e36e9afab791559c1de4ac8e (patch)
treeb8ed503ebe1c75b0d401658907d270a3351bccee
parent4bf97d28a73b516499e3c6cca3ecc6952c7755f6 (diff)
downloadModel01-Firmware-f32f14a5c2f44176e36e9afab791559c1de4ac8e.tar.gz
Model01-Firmware-f32f14a5c2f44176e36e9afab791559c1de4ac8e.zip
Slgihtly clean up the macro index code
-rw-r--r--Model01-Firmware.ino4
1 files changed, 1 insertions, 3 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino
index 19bcdab..8a40aae 100644
--- a/Model01-Firmware.ino
+++ b/Model01-Firmware.ino
@@ -113,9 +113,7 @@ static LEDSolidColor solidViolet (70, 0, 60);
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
if (macroIndex == TOGGLENUMLOCK && key_toggled_on(keyState)) {
return NumLock.toggle (Macros.row, Macros.col, NUMPAD_KEYMAP);
- }
-
- if (macroIndex == 1 && key_toggled_on(keyState)) {
+ } else if (macroIndex == 1 && key_toggled_on(keyState)) {
Serial.print("Keyboard.IO keyboard driver v0.00");
return MACRO(I(25),
D(LShift), T(M), U(LShift), T(O), T(D), T(E), T(L),