diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-31 02:44:53 +1100 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-01-12 22:46:12 -0800 |
commit | c239c7c028f4e0bf982751022b27b2b411912dc3 (patch) | |
tree | 52aba27a2f87d49e557a022b255f6361c13e21fa /tmk_core | |
parent | bc0f45f9fdb1d06cce319b62095e695f2fe60c7a (diff) |
Missed a couple more `#pragma once`s (#11351)
Diffstat (limited to 'tmk_core')
-rwxr-xr-x | tmk_core/make_dfu_header.sh | 4 |
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 |