diff options
author | Drashna Jael're <drashna@live.com> | 2017-11-29 09:49:33 -0800 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-11-29 13:01:06 -0500 |
commit | 28874a9f33e7527f5104ec507f78360481f51f9e (patch) | |
tree | 47b4cee93ccecd6c6698a0954e415dc11c1ecf5f | |
parent | 319ff649ab2972c623f31454682119851e12f4ea (diff) | |
download | qmk_firmware-28874a9f33e7527f5104ec507f78360481f51f9e.tar.gz qmk_firmware-28874a9f33e7527f5104ec507f78360481f51f9e.zip |
Fixed minor typo in bootloader code
-rw-r--r-- | docs/feature_userspace.md | 4 | ||||
-rw-r--r-- | users/drashna/template.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/feature_userspace.md b/docs/feature_userspace.md index f1a4efdd89..bbb035109a 100644 --- a/docs/feature_userspace.md +++ b/docs/feature_userspace.md @@ -76,7 +76,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP #if (defined(BOOTLOADER_DFU) || defined(BOOTLOADER_LUFA_DFU) || defined(BOOTLOADER_QMK_DFU)) ":dfu " -#elif defined(BOOTLOADER_HALFKEY) +#elif defined(BOOTLOADER_HALFKAY) ":teensy " #elif defined(BOOTLOADER_CATERINA) ":avrdude " @@ -92,5 +92,5 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { This will add a new `KC_MAKE` keycode that can be used in any of your keymaps. And this keycode will output `make <keyboard>:<keymap">`, making frequent compiling easier. And this will work with any keyboard and any keymap as it will output the current boards info, so that you don't have to type this out every time. -Additionally, this should flash the newly compiled firmware automatically, using the correct utility, based on the bootloader settings (or default to just generating the HEX file). However, it should be noted that this may not work on all systems (AVRDUDE doesn't work on WSL, namely). +Additionally, this should flash the newly compiled firmware automatically, using the correct utility, based on the bootloader settings (or default to just generating the HEX file). However, it should be noted that this may not work on all systems. AVRDUDE doesn't work on WSL, namely (and will dump the HEX in the ".build" folder instead). diff --git a/users/drashna/template.c b/users/drashna/template.c index 577a2ea36a..37f3233dfc 100644 --- a/users/drashna/template.c +++ b/users/drashna/template.c @@ -45,7 +45,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP #if (defined(BOOTLOADER_DFU) || defined(BOOTLOADER_LUFA_DFU) || defined(BOOTLOADER_QMK_DFU)) ":dfu" -#elif defined(BOOTLOADER_HALFKEY) +#elif defined(BOOTLOADER_HALFKAY) ":teensy" #elif defined(BOOTLOADER_CATERINA) ":avrdude" |