Skip to content

Commit

Permalink
Missed a couple more #pragma onces (qmk#11351)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Dec 30, 2020
1 parent 6f6e28b commit 7071900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions tests/test_common/test_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef TESTS_TEST_COMMON_TEST_MATRIX_H_
#define TESTS_TEST_COMMON_TEST_MATRIX_H_
#pragma once

#ifdef __cplusplus
extern "C" {
Expand All @@ -28,5 +27,3 @@ void clear_all_keys(void);
#ifdef __cplusplus
}
#endif

#endif /* TESTS_TEST_COMMON_TEST_MATRIX_H_ */
4 changes: 1 addition & 3 deletions tmk_core/make_dfu_header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ 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
$($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

0 comments on commit 7071900

Please sign in to comment.