tiny refactor

pull/18/head
Jesse Vincent 9 years ago
parent d8f1a02cde
commit cc9546bdd9

@ -56,10 +56,8 @@ void handle_key_event(byte row, byte col) {
}
if (mappedKey.flags & SYNTHETIC_KEY) {
handle_synthetic_key_event(switchState, mappedKey);
} else {
if (key_is_pressed(switchState)) {
} else if (key_is_pressed(switchState)) {
press_key(mappedKey);
}
}
}

Loading…
Cancel
Save