Update the example so it works as it should

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent af56e5b5a5
commit 7f261084ef

@ -43,10 +43,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
};
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
if (!key_toggled_on (keyState))
return MACRO_NONE;
if (macroIndex == 0) {
if (macroIndex == 0 && key_toggled_off (keyState)) {
EEPROMKeymapProgrammer.nextState ();
}

Loading…
Cancel
Save