diff options
author | Drashna Jael're <drashna@live.com> | 2017-11-28 05:53:40 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-11-29 04:59:41 +0100 |
commit | 319ff649ab2972c623f31454682119851e12f4ea (patch) | |
tree | 2f5f8bbe1e213eb6ba553b54a5b96fdb6fbb0c56 /docs | |
parent | 92f6d6ec0265481e35f976be88612c2284cfb185 (diff) | |
download | qmk_firmware-319ff649ab2972c623f31454682119851e12f4ea.tar.gz qmk_firmware-319ff649ab2972c623f31454682119851e12f4ea.tar.xz |
16 byte optimization of macro ;)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_userspace.md | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/docs/feature_userspace.md b/docs/feature_userspace.md index 98b42b042..f1a4efdd8 100644 --- a/docs/feature_userspace.md +++ b/docs/feature_userspace.md @@ -73,17 +73,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case KC_MAKE: if (!record->event.pressed) { - SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP); + SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP #if (defined(BOOTLOADER_DFU) || defined(BOOTLOADER_LUFA_DFU) || defined(BOOTLOADER_QMK_DFU)) - SEND_STRING(":dfu"); -#elseif defined(BOOTLOADER_HALFKEY) - SEND_STRING(":teensy "); -#elseif defined(BOOTLOADER_CATERINA) - SEND_STRING(":avrdude "); -#else - SEND_STRING(" "); + ":dfu " +#elif defined(BOOTLOADER_HALFKEY) + ":teensy " +#elif defined(BOOTLOADER_CATERINA) + ":avrdude " #endif - SEND_STRING(SS_TAP(X_ENTER)); + SS_TAP(X_ENTER)); } return false; break; |