From ddc4e15fbf5b7f3f1216871c8adb37a9418d4e94 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 14:43:50 -0700 Subject: switch to new CamelCased' toggle functions --- Model01-Firmware.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index cc4e2b6..6111088 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -96,12 +96,12 @@ static LEDSolidColor solidIndigo(0, 0, 170); static LEDSolidColor solidViolet(130, 0, 120); const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) { - if (macroIndex == TOGGLENUMLOCK && key_toggled_on(keyState)) { + if (macroIndex == TOGGLENUMLOCK && keyToggledOn(keyState)) { return NumLock.toggle(); - } else if (macroIndex == 1 && key_toggled_on(keyState)) { + } else if (macroIndex == 1 && keyToggledOn(keyState)) { Macros.type(PSTR("Keyboardio Model 01 - Kaleidoscope ")); Macros.type(PSTR(BUILD_INFORMATION)); - } else if (macroIndex == MACRO_ANY && key_toggled_on(keyState)) { + } else if (macroIndex == MACRO_ANY && keyToggledOn(keyState)) { Keyboard.press(Key_A.keyCode + (uint8_t)(millis() % 36)); Keyboard.sendReport(); } -- cgit v1.2.3