Skip to content

Commit

Permalink
zweihander: comment out action_get_macro()
Browse files Browse the repository at this point in the history
  • Loading branch information
adiabatic committed May 4, 2016
1 parent fe022a5 commit 6bafe44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ const uint16_t PROGMEM fn_actions[] = {
[1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols)
};

// action_get_macro() is unused — remove the “#if 0” and “#endif” lines to reenable
#if 0
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
{
// MACRODOWN only works in this function
Expand All @@ -153,6 +155,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
}
return MACRO_NONE;
};
#endif

// Runs just one time when the keyboard initializes.
void matrix_init_user(void) {
Expand Down

0 comments on commit 6bafe44

Please sign in to comment.