diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2017-05-26 15:57:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-26 15:57:08 +0200 |
commit | 0a4a966c6648e66a1129ae3af36639054d3e0ed3 (patch) | |
tree | ec50b19b9031b1f3f24e003879f95cf9690d61af /keyboards/planck/keymaps/vifon | |
parent | 7180e195e84aabf252fcadb2852644417ac1d663 (diff) | |
parent | 7a4ec3bd926865e490fbf7c5ec68d762e998683f (diff) | |
download | qmk_firmware-0a4a966c6648e66a1129ae3af36639054d3e0ed3.tar.gz qmk_firmware-0a4a966c6648e66a1129ae3af36639054d3e0ed3.zip |
Merge pull request #22 from qmk/master
Merge from QMK
Diffstat (limited to 'keyboards/planck/keymaps/vifon')
-rw-r--r-- | keyboards/planck/keymaps/vifon/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/vifon/keymap.c b/keyboards/planck/keymaps/vifon/keymap.c index ee0c0ac366..ecd5c2cc44 100644 --- a/keyboards/planck/keymaps/vifon/keymap.c +++ b/keyboards/planck/keymaps/vifon/keymap.c @@ -107,7 +107,8 @@ const uint16_t PROGMEM fn_actions[] = { bool process_record_user(uint16_t keycode, keyrecord_t *record) { static uint16_t key_timer; - if (!process_record_dynamic_macro(keycode, record)) { + uint16_t macro_kc = (keycode == MO(_DYN) ? DYN_REC_STOP : keycode); + if (!process_record_dynamic_macro(macro_kc, record)) { return false; } |