From a8faa2d594858438e53233be3b3c05978d9f9246 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 13:51:14 -0700 Subject: [PATCH] Switch to new key toggle API --- src/Kaleidoscope-LEDControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope-LEDControl.cpp b/src/Kaleidoscope-LEDControl.cpp index 2cd78393..fd483ea0 100644 --- a/src/Kaleidoscope-LEDControl.cpp +++ b/src/Kaleidoscope-LEDControl.cpp @@ -144,7 +144,7 @@ LEDControl_::eventHandler(Key mappedKey, byte row, byte col, uint8_t keyState) { if (mappedKey.flags != (SYNTHETIC | IS_INTERNAL | LED_TOGGLE)) return mappedKey; - if (key_toggled_on(keyState)) + if (keyToggledOn(keyState)) LEDControl.next_mode(); return Key_NoKey;