aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sharfi <me@ngalt.com>2016-05-03 19:19:47 -0700
committerNathan Sharfi <me@ngalt.com>2016-05-03 19:19:47 -0700
commit6bafe444865e228ddcae2234549f1fd0931d89ad (patch)
tree5f6da4f5cf4857d5506756038908e4cadb236bb4
parentfe022a508fdd39696e3b2b188df27d60b32f0d63 (diff)
downloadqmk_firmware-6bafe444865e228ddcae2234549f1fd0931d89ad.tar.gz
qmk_firmware-6bafe444865e228ddcae2234549f1fd0931d89ad.zip
zweihander: comment out action_get_macro()
-rw-r--r--keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c b/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c
index d019b731f..a9980593f 100644
--- a/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c
+++ b/keyboard/ergodox_ez/keymaps/zweihander-osx/keymap.c
@@ -139,6 +139,8 @@ const uint16_t PROGMEM fn_actions[] = {
139 [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) 139 [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols)
140}; 140};
141 141
142// action_get_macro() is unused — remove the “#if 0” and “#endif” lines to reenable
143#if 0
142const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) 144const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
143{ 145{
144 // MACRODOWN only works in this function 146 // MACRODOWN only works in this function
@@ -153,6 +155,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
153 } 155 }
154 return MACRO_NONE; 156 return MACRO_NONE;
155}; 157};
158#endif
156 159
157// Runs just one time when the keyboard initializes. 160// Runs just one time when the keyboard initializes.
158void matrix_init_user(void) { 161void matrix_init_user(void) {