summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-10-24 08:22:36 -0700
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-10-28 08:44:58 -0700
commit796bce5ab23108558e3eb06d485d3468b89e80f6 (patch)
tree963650b05ccf70a7ce220d693e90a031a9e350c9
parent6ed925103fcc80add200760b5e725f100b3597ab (diff)
downloadqmk_firmware-796bce5ab23108558e3eb06d485d3468b89e80f6.tar.gz
qmk_firmware-796bce5ab23108558e3eb06d485d3468b89e80f6.zip
Cleanup KC_MAKE command
-rw-r--r--users/drashna/drashna.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/users/drashna/drashna.c b/users/drashna/drashna.c
index cd7afe7687..5329d36e2e 100644
--- a/users/drashna/drashna.c
+++ b/users/drashna/drashna.c
@@ -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"
-#elif defined(BOOTLOADER_DFU)
- ":dfu"
-#elif defined(BOOTLOADER_HALFKAY)
- ":teensy"
-#elif defined(BOOTLOADER_CATERINA)
- ":avrdude"
-#endif // bootloader options
- ), 10);
+ #if defined(__ARM__)
+ send_string_with_delay_P(PSTR(":dfu-util"), 10);
+ #elif defined(BOOTLOADER_DFU)
+ send_string_with_delay_P(PSTR(":dfu"), 10);
+ #elif defined(BOOTLOADER_HALFKAY)
+ send_string_with_delay_P(PSTR(":teensy"), 10);
+ #elif defined(BOOTLOADER_CATERINA)
+ send_string_with_delay_P(PSTR(":avrdude"), 10);
+ #endif // bootloader options
}
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);