Switch to new key toggle API

pull/365/head
Jesse Vincent 7 years ago
parent 3a90cc42b2
commit a8faa2d594
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -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;

Loading…
Cancel
Save