aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_common/test_matrix.h5
-rwxr-xr-xtmk_core/make_dfu_header.sh4
2 files changed, 2 insertions, 7 deletions
diff --git a/tests/test_common/test_matrix.h b/tests/test_common/test_matrix.h
index 174fc4f22..abfcc2404 100644
--- a/tests/test_common/test_matrix.h
+++ b/tests/test_common/test_matrix.h
@@ -14,8 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#ifndef TESTS_TEST_COMMON_TEST_MATRIX_H_ 17#pragma once
18#define TESTS_TEST_COMMON_TEST_MATRIX_H_
19 18
20#ifdef __cplusplus 19#ifdef __cplusplus
21extern "C" { 20extern "C" {
@@ -28,5 +27,3 @@ void clear_all_keys(void);
28#ifdef __cplusplus 27#ifdef __cplusplus
29} 28}
30#endif 29#endif
31
32#endif /* TESTS_TEST_COMMON_TEST_MATRIX_H_ */
diff --git a/tmk_core/make_dfu_header.sh b/tmk_core/make_dfu_header.sh
index 49ba66251..7e2283dd7 100755
--- a/tmk_core/make_dfu_header.sh
+++ b/tmk_core/make_dfu_header.sh
@@ -3,8 +3,7 @@ ALL_CONFIGS=$*
3GREP="grep" 3GREP="grep"
4 4
5cat <<- EOF > lib/lufa/Bootloaders/DFU/Keyboard.h 5cat <<- EOF > lib/lufa/Bootloaders/DFU/Keyboard.h
6#ifndef QMK_KEYBOARD 6#pragma once
7#define QMK_KEYBOARD
8 7
9$($GREP "MANUFACTURER[ \t]" $ALL_CONFIGS -h | tail -1) 8$($GREP "MANUFACTURER[ \t]" $ALL_CONFIGS -h | tail -1)
10$($GREP "PRODUCT[ \t]" $ALL_CONFIGS -h | tail -1 | tr -d '\r') Bootloader 9$($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)
12$($GREP "QMK_ESC_INPUT[ \t]" $ALL_CONFIGS -h | tail -1) 11$($GREP "QMK_ESC_INPUT[ \t]" $ALL_CONFIGS -h | tail -1)
13$($GREP "QMK_LED[ \t]" $ALL_CONFIGS -h | tail -1) 12$($GREP "QMK_LED[ \t]" $ALL_CONFIGS -h | tail -1)
14$($GREP "QMK_SPEAKER[ \t]" $ALL_CONFIGS -h | tail -1) 13$($GREP "QMK_SPEAKER[ \t]" $ALL_CONFIGS -h | tail -1)
15#endif
16EOF 14EOF