summaryrefslogtreecommitdiff
path: root/tmk_core/make_dfu_header.sh
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-30 15:45:24 +0000
committerQMK Bot <hello@qmk.fm>2020-12-30 15:45:24 +0000
commitb51cc6d67a16fa2f7b6bae7094b27c7ff58bb3a4 (patch)
treededc0f205218de34b85fe0d68f80dffaf5c64332 /tmk_core/make_dfu_header.sh
parentd5c89c8ed549bb38b481204f9c8ce9435538674c (diff)
parent70719004070731481ca71998ff9039e7747956ba (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'tmk_core/make_dfu_header.sh')
-rwxr-xr-xtmk_core/make_dfu_header.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/tmk_core/make_dfu_header.sh b/tmk_core/make_dfu_header.sh
index 49ba66251a..7e2283dd70 100755
--- a/tmk_core/make_dfu_header.sh
+++ b/tmk_core/make_dfu_header.sh
@@ -3,8 +3,7 @@ ALL_CONFIGS=$*
GREP="grep"
cat <<- EOF > lib/lufa/Bootloaders/DFU/Keyboard.h
-#ifndef QMK_KEYBOARD
-#define QMK_KEYBOARD
+#pragma once
$($GREP "MANUFACTURER[ \t]" $ALL_CONFIGS -h | tail -1)
$($GREP "PRODUCT[ \t]" $ALL_CONFIGS -h | tail -1 | tr -d '\r') Bootloader
@@ -12,5 +11,4 @@ $($GREP "QMK_ESC_OUTPUT[ \t]" $ALL_CONFIGS -h | tail -1)
$($GREP "QMK_ESC_INPUT[ \t]" $ALL_CONFIGS -h | tail -1)
$($GREP "QMK_LED[ \t]" $ALL_CONFIGS -h | tail -1)
$($GREP "QMK_SPEAKER[ \t]" $ALL_CONFIGS -h | tail -1)
-#endif
EOF