1
0
Fork 0

Cleanup KC_MAKE command

This commit is contained in:
Drashna Jaelre 2018-10-24 08:22:36 -07:00 committed by MechMerlin
parent 6ed925103f
commit 796bce5ab2

View file

@ -254,17 +254,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
clear_mods(); clear_mods();
send_string_with_delay_P(PSTR("make " QMK_KEYBOARD ":" QMK_KEYMAP), 10); send_string_with_delay_P(PSTR("make " QMK_KEYBOARD ":" QMK_KEYMAP), 10);
if (temp_mod & MODS_SHIFT_MASK) { if (temp_mod & MODS_SHIFT_MASK) {
send_string_with_delay_P(PSTR( #if defined(__ARM__)
#if defined(__ARM__) send_string_with_delay_P(PSTR(":dfu-util"), 10);
":dfu-util" #elif defined(BOOTLOADER_DFU)
#elif defined(BOOTLOADER_DFU) send_string_with_delay_P(PSTR(":dfu"), 10);
":dfu" #elif defined(BOOTLOADER_HALFKAY)
#elif defined(BOOTLOADER_HALFKAY) send_string_with_delay_P(PSTR(":teensy"), 10);
":teensy" #elif defined(BOOTLOADER_CATERINA)
#elif defined(BOOTLOADER_CATERINA) send_string_with_delay_P(PSTR(":avrdude"), 10);
":avrdude" #endif // bootloader options
#endif // bootloader options
), 10);
} }
if (temp_mod & MODS_CTRL_MASK) { send_string_with_delay_P(PSTR(" -j8 --output-sync"), 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); send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), 10);