mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-19 03:36:28 +00:00
Cleanup KC_MAKE command
This commit is contained in:
parent
6ed925103f
commit
796bce5ab2
1 changed files with 9 additions and 11 deletions
|
@ -254,17 +254,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
clear_mods();
|
||||
send_string_with_delay_P(PSTR("make " QMK_KEYBOARD ":" QMK_KEYMAP), 10);
|
||||
if (temp_mod & MODS_SHIFT_MASK) {
|
||||
send_string_with_delay_P(PSTR(
|
||||
#if defined(__ARM__)
|
||||
":dfu-util"
|
||||
send_string_with_delay_P(PSTR(":dfu-util"), 10);
|
||||
#elif defined(BOOTLOADER_DFU)
|
||||
":dfu"
|
||||
send_string_with_delay_P(PSTR(":dfu"), 10);
|
||||
#elif defined(BOOTLOADER_HALFKAY)
|
||||
":teensy"
|
||||
send_string_with_delay_P(PSTR(":teensy"), 10);
|
||||
#elif defined(BOOTLOADER_CATERINA)
|
||||
":avrdude"
|
||||
send_string_with_delay_P(PSTR(":avrdude"), 10);
|
||||
#endif // bootloader options
|
||||
), 10);
|
||||
}
|
||||
if (temp_mod & MODS_CTRL_MASK) { send_string_with_delay_P(PSTR(" -j8 --output-sync"), 10); }
|
||||
send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), 10);
|
||||
|
|
Loading…
Reference in a new issue