Skip to content

Commit

Permalink
Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
mondalaci committed Apr 9, 2023
2 parents 4626657 + 295638e commit fb4aaaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions right/src/config_parser/parse_keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ parser_error_t ParseKeymap(config_buffer_t *buffer, uint8_t keymapIdx, uint8_t k
if (isDefault) {
DefaultKeymapIndex = keymapIdx;
}

/* Clear the actions, since Agent may specify just part of a layer. */
memset(CurrentKeymap, 0, sizeof CurrentKeymap);
}
tempKeymapCount = keymapCount;
tempMacroCount = macroCount;
Expand Down

0 comments on commit fb4aaaf

Please sign in to comment.