aboutsummaryrefslogtreecommitdiffstats
path: root/users/drashna
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2017-11-27 20:23:42 -0800
committerJack Humbert <jack.humb@gmail.com>2017-11-27 23:36:55 -0500
commit92f6d6ec0265481e35f976be88612c2284cfb185 (patch)
treebdd504bfb34b25030bcf12ae9b6239308ef13e9e /users/drashna
parent9fdc27626097ae03b767a09427efc90475d90955 (diff)
downloadfirmware-92f6d6ec0265481e35f976be88612c2284cfb185.tar.gz
firmware-92f6d6ec0265481e35f976be88612c2284cfb185.tar.bz2
firmware-92f6d6ec0265481e35f976be88612c2284cfb185.zip
Update Userspace info to include Bootloader detection
Diffstat (limited to 'users/drashna')
-rw-r--r--users/drashna/template.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/drashna/template.c b/users/drashna/template.c
index f377d64f7..28f61c04f 100644
--- a/users/drashna/template.c
+++ b/users/drashna/template.c
@@ -43,8 +43,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case KC_MAKE:
if (!record->event.pressed) {
SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP);
-#ifndef BOOTLOADER_CATERINA
+#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(" ");
#endif