diff options
author | Joel Challis <[email protected]> | 2021-08-25 01:16:59 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-25 01:16:59 +0100 |
commit | a84de5e22be25e2059dfee732f5cca3ec0953a35 (patch) | |
tree | 31202fc9dcf0ff56ead905b234ed0ab364ca7de7 /quantum/action.c | |
parent | 3855713ca0a9513c51fe70e61032d7ea89fa7e87 (diff) | |
download | qmk_firmware-a84de5e22be25e2059dfee732f5cca3ec0953a35.tar.gz qmk_firmware-a84de5e22be25e2059dfee732f5cca3ec0953a35.zip |
Revert 14083 && 14144 (#14150)
* Revert "Short term bodge for firmware size bloat (#14144)"
This reverts commit a8d65473461c337fb1e168d907bfb8c3ac8fdbd0.
* Revert "Tidy up quantum.c now some of tmk_core has been merged (#14083)"
This reverts commit c4dbf4bf0118dd785802861beb247433b5b7411d.
Diffstat (limited to 'quantum/action.c')
-rw-r--r-- | quantum/action.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/quantum/action.c b/quantum/action.c index ec9fcd9c9c..d19fd2a045 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -960,34 +960,6 @@ void unregister_weak_mods(uint8_t mods) { } } -static void do_code16(uint16_t code, void (*f)(uint8_t)) { f(extract_mod_bits(code)); } - -void register_code16(uint16_t code) { - if (IS_MOD(code) || code == KC_NO) { - do_code16(code, register_mods); - } else { - do_code16(code, register_weak_mods); - } - register_code(code); -} - -void unregister_code16(uint16_t code) { - unregister_code(code); - if (IS_MOD(code) || code == KC_NO) { - do_code16(code, unregister_mods); - } else { - do_code16(code, unregister_weak_mods); - } -} - -void tap_code16(uint16_t code) { - register_code16(code); -#if TAP_CODE_DELAY > 0 - wait_ms(TAP_CODE_DELAY); -#endif - unregister_code16(code); -} - /** \brief Utilities for actions. (FIXME: Needs better description) * * FIXME: Needs documentation. |