summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keyboards/1upkeyboards/pi60/config.h2
-rw-r--r--keyboards/25keys/zinc/rev1/post_config.h2
-rw-r--r--keyboards/25keys/zinc/reva/post_config.h2
-rw-r--r--keyboards/adkb96/rev1/config.h2
-rw-r--r--keyboards/adm42/rev4/config.h2
-rw-r--r--keyboards/adpenrose/kintsugi/post_config.h2
-rw-r--r--keyboards/akb/vero/mcuconf.h2
-rw-r--r--keyboards/atlantis/encoder_actions.h2
-rw-r--r--keyboards/binepad/bnr1/v2/config.h2
-rw-r--r--keyboards/cannonkeys/ortho60v2/mcuconf.h2
-rw-r--r--keyboards/capsunlocked/cu80/v2_iso/rgb/config.h2
-rw-r--r--keyboards/clueboard/2x1800/2021/font.h2
-rw-r--r--keyboards/doio/kb38/config.h1
-rw-r--r--keyboards/duck/eagle_viper/v2/indicator_leds.h2
-rw-r--r--keyboards/duck/lightsaver/indicator_leds.h2
-rw-r--r--keyboards/duck/octagon/v2/indicator_leds.h2
-rw-r--r--keyboards/duck/tcv3/indicator_leds.h2
-rw-r--r--keyboards/ergodox_stm32/board.h2
-rw-r--r--keyboards/gboards/engine/config.h0
-rw-r--r--keyboards/geekboards/macropad_v2/config.h2
-rw-r--r--keyboards/handwired/onekey/bluepill_f103c6/board.h3
-rw-r--r--keyboards/hineybush/h87a/config.h3
-rw-r--r--keyboards/horrortroll/handwired_k552/board.h2
-rw-r--r--keyboards/jm60/board.h2
-rw-r--r--keyboards/kakunpc/business_card/config.h0
-rw-r--r--keyboards/kbdfans/odin/rgb/config.h2
-rw-r--r--keyboards/kbdfans/odin/soldered/config.h2
-rw-r--r--keyboards/kbdfans/odin/v2/config.h1
-rw-r--r--keyboards/kbdfans/odinmini/config.h2
-rw-r--r--keyboards/keebio/encoder_actions.h2
-rw-r--r--keyboards/keychron/common/keychron_common.h2
-rw-r--r--keyboards/keychron/v3/mcuconf.h2
-rw-r--r--keyboards/keychron/v5/halconf.h2
-rw-r--r--keyboards/keychron/v5/mcuconf.h2
-rw-r--r--keyboards/keychron/v6/halconf.h2
-rw-r--r--keyboards/keychron/v6/mcuconf.h2
-rw-r--r--keyboards/linworks/whale75/chconf.h17
-rw-r--r--keyboards/linworks/whale75/mcuconf.h2
-rw-r--r--keyboards/lw75/config.h2
-rw-r--r--keyboards/macro3/post_config.h2
-rw-r--r--keyboards/merge/uc1/config.h1
-rw-r--r--keyboards/merge/um70/config.h1
-rw-r--r--keyboards/merge/um80/config.h1
-rw-r--r--keyboards/merge/uma/config.h1
-rw-r--r--keyboards/mode/m80v1/config.h2
-rw-r--r--keyboards/nightly_boards/adellein/encoder_action.h2
-rw-r--r--keyboards/nightly_boards/n40_o/encoder_action.h2
-rw-r--r--keyboards/nightly_boards/n60_s/encoder_action.h2
-rw-r--r--keyboards/nightly_boards/octopad/encoder_action.h2
-rw-r--r--keyboards/np12/config.h3
-rw-r--r--keyboards/planck/rev6/mcuconf.h2
-rw-r--r--keyboards/planck/rev6_drop/mcuconf.h2
-rw-r--r--keyboards/preonic/rev3/mcuconf.h2
-rw-r--r--keyboards/preonic/rev3_drop/mcuconf.h2
-rw-r--r--keyboards/quarkeys/z67/hotswap/config.h1
-rw-r--r--keyboards/quarkeys/z67/solder/config.h1
-rw-r--r--keyboards/rmi_kb/squishyfrl/mcuconf.h2
-rw-r--r--keyboards/rmi_kb/squishytkl/mcuconf.h2
-rw-r--r--keyboards/sawnsprojects/krush/krush65/hotswap/encoder_actions.h2
-rw-r--r--keyboards/sawnsprojects/krush/krush65/solder/encoder_actions.h2
-rwxr-xr-xkeyboards/spaceholdings/nebula68b/hs/config.h2
-rw-r--r--keyboards/stello65/beta/encoder_actions.h2
-rw-r--r--keyboards/teleport/native/mcuconf.h2
-rw-r--r--keyboards/weirdo/geminate60/chconf.h2
-rw-r--r--keyboards/wekey/we27/encoder_actions.h2
65 files changed, 105 insertions, 31 deletions
diff --git a/keyboards/1upkeyboards/pi60/config.h b/keyboards/1upkeyboards/pi60/config.h
index 24a8d9218b..3ba6144e59 100644
--- a/keyboards/1upkeyboards/pi60/config.h
+++ b/keyboards/1upkeyboards/pi60/config.h
@@ -3,8 +3,6 @@
#pragma once
-#include "config_common.h"
-
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_DI_PIN GP17
diff --git a/keyboards/25keys/zinc/rev1/post_config.h b/keyboards/25keys/zinc/rev1/post_config.h
index 54608f8f67..15857d3b0b 100644
--- a/keyboards/25keys/zinc/rev1/post_config.h
+++ b/keyboards/25keys/zinc/rev1/post_config.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
// RGB LED support
// see ./rules.mk: LED_ANIMATIONS = yes or no
// see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
diff --git a/keyboards/25keys/zinc/reva/post_config.h b/keyboards/25keys/zinc/reva/post_config.h
index 54608f8f67..15857d3b0b 100644
--- a/keyboards/25keys/zinc/reva/post_config.h
+++ b/keyboards/25keys/zinc/reva/post_config.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
// RGB LED support
// see ./rules.mk: LED_ANIMATIONS = yes or no
// see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
diff --git a/keyboards/adkb96/rev1/config.h b/keyboards/adkb96/rev1/config.h
index b8ab452acc..c5a9673671 100644
--- a/keyboards/adkb96/rev1/config.h
+++ b/keyboards/adkb96/rev1/config.h
@@ -16,6 +16,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4 }
diff --git a/keyboards/adm42/rev4/config.h b/keyboards/adm42/rev4/config.h
index 9ad330d8f7..c03603b011 100644
--- a/keyboards/adm42/rev4/config.h
+++ b/keyboards/adm42/rev4/config.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define MATRIX_COL_PINS { C6, B6, B5, B4, D7, D6, F0, F1, F4, F5, F6, F7 }
#define MATRIX_ROW_PINS { C7, D5, D3, D2 }
diff --git a/keyboards/adpenrose/kintsugi/post_config.h b/keyboards/adpenrose/kintsugi/post_config.h
index e1f92f9e60..36913903f7 100644
--- a/keyboards/adpenrose/kintsugi/post_config.h
+++ b/keyboards/adpenrose/kintsugi/post_config.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#ifndef OLED_FONT_H
# define OLED_FONT_H "lib/kintsugifont.c"
# define OLED_TIMEOUT 120000
diff --git a/keyboards/akb/vero/mcuconf.h b/keyboards/akb/vero/mcuconf.h
index bf2d83997c..e93fdc1d23 100644
--- a/keyboards/akb/vero/mcuconf.h
+++ b/keyboards/akb/vero/mcuconf.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <mcuconf.h>
/* Set PLL M divider from 4 (F411 GENERIC default) to 8, because of 16 MHz crystal on board */
#undef STM32_PLLM_VALUE
diff --git a/keyboards/atlantis/encoder_actions.h b/keyboards/atlantis/encoder_actions.h
index 2484af52ae..1a7fb72014 100644
--- a/keyboards/atlantis/encoder_actions.h
+++ b/keyboards/atlantis/encoder_actions.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include "quantum.h"
void encoder_action_unregister(void);
diff --git a/keyboards/binepad/bnr1/v2/config.h b/keyboards/binepad/bnr1/v2/config.h
index 7fbf1cfab1..c408f95d38 100644
--- a/keyboards/binepad/bnr1/v2/config.h
+++ b/keyboards/binepad/bnr1/v2/config.h
@@ -3,7 +3,5 @@
#pragma once
-#include "config_common.h"
-
#define WEAR_LEVELING_LOGICAL_SIZE 1024
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
diff --git a/keyboards/cannonkeys/ortho60v2/mcuconf.h b/keyboards/cannonkeys/ortho60v2/mcuconf.h
index 533c3f1e23..75a6bb41ec 100644
--- a/keyboards/cannonkeys/ortho60v2/mcuconf.h
+++ b/keyboards/cannonkeys/ortho60v2/mcuconf.h
@@ -3,7 +3,7 @@
#pragma once
-#include_next "mcuconf.h"
+#include_next <mcuconf.h>
#undef RP_PWM_USE_PWM6
#define RP_PWM_USE_PWM6 TRUE
diff --git a/keyboards/capsunlocked/cu80/v2_iso/rgb/config.h b/keyboards/capsunlocked/cu80/v2_iso/rgb/config.h
index 4d15aca40c..3fe745d278 100644
--- a/keyboards/capsunlocked/cu80/v2_iso/rgb/config.h
+++ b/keyboards/capsunlocked/cu80/v2_iso/rgb/config.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
/* enable RGB matrix */
#define CU80_RGB
diff --git a/keyboards/clueboard/2x1800/2021/font.h b/keyboards/clueboard/2x1800/2021/font.h
index 5ddcbfba56..191d11dcee 100644
--- a/keyboards/clueboard/2x1800/2021/font.h
+++ b/keyboards/clueboard/2x1800/2021/font.h
@@ -24,6 +24,8 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#pragma once
+
// Top row of keyboard, when shift held
#define CHR_TILDE {0b00110000, 0b01000000, 0b00110000, 0b00001000, 0b00110000, 0b00000000}
#define CHR_BANG {0b00000000, 0b00000000, 0b11111010, 0b10000000, 0b00000000, 0b00000000}
diff --git a/keyboards/doio/kb38/config.h b/keyboards/doio/kb38/config.h
index ba8eb14a11..416219d5c7 100644
--- a/keyboards/doio/kb38/config.h
+++ b/keyboards/doio/kb38/config.h
@@ -2,7 +2,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
-#include "config_common.h"
#define RGB_DI_PIN F6
#define RGB_MATRIX_LED_COUNT 44
diff --git a/keyboards/duck/eagle_viper/v2/indicator_leds.h b/keyboards/duck/eagle_viper/v2/indicator_leds.h
index fe66eef6b2..2c6f13101d 100644
--- a/keyboards/duck/eagle_viper/v2/indicator_leds.h
+++ b/keyboards/duck/eagle_viper/v2/indicator_leds.h
@@ -1 +1,3 @@
+#pragma once
+
void indicator_leds_set(bool leds[8]);
diff --git a/keyboards/duck/lightsaver/indicator_leds.h b/keyboards/duck/lightsaver/indicator_leds.h
index fe66eef6b2..2c6f13101d 100644
--- a/keyboards/duck/lightsaver/indicator_leds.h
+++ b/keyboards/duck/lightsaver/indicator_leds.h
@@ -1 +1,3 @@
+#pragma once
+
void indicator_leds_set(bool leds[8]);
diff --git a/keyboards/duck/octagon/v2/indicator_leds.h b/keyboards/duck/octagon/v2/indicator_leds.h
index 2c1bfe5624..9d89e3e3d1 100644
--- a/keyboards/duck/octagon/v2/indicator_leds.h
+++ b/keyboards/duck/octagon/v2/indicator_leds.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include "duck_led/duck_led.h"
void indicator_leds_set(bool leds[7]);
diff --git a/keyboards/duck/tcv3/indicator_leds.h b/keyboards/duck/tcv3/indicator_leds.h
index ad3ec54f52..9bd437084d 100644
--- a/keyboards/duck/tcv3/indicator_leds.h
+++ b/keyboards/duck/tcv3/indicator_leds.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include "duck_led/duck_led.h"
void indicator_leds_set(bool leds[8]);
diff --git a/keyboards/ergodox_stm32/board.h b/keyboards/ergodox_stm32/board.h
index 23f9495789..c1c37c0659 100644
--- a/keyboards/ergodox_stm32/board.h
+++ b/keyboards/ergodox_stm32/board.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <board.h>
#ifdef STM32_LSECLK
diff --git a/keyboards/gboards/engine/config.h b/keyboards/gboards/engine/config.h
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/gboards/engine/config.h
+++ /dev/null
diff --git a/keyboards/geekboards/macropad_v2/config.h b/keyboards/geekboards/macropad_v2/config.h
index eb9850804f..eb01b1ad13 100644
--- a/keyboards/geekboards/macropad_v2/config.h
+++ b/keyboards/geekboards/macropad_v2/config.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define RGBLED_NUM 42
#define RGB_MATRIX_LED_COUNT 42
#define RGB_DI_PIN A7
diff --git a/keyboards/handwired/onekey/bluepill_f103c6/board.h b/keyboards/handwired/onekey/bluepill_f103c6/board.h
index 4889f351a6..7513db63ed 100644
--- a/keyboards/handwired/onekey/bluepill_f103c6/board.h
+++ b/keyboards/handwired/onekey/bluepill_f103c6/board.h
@@ -1,5 +1,8 @@
// Copyright 2022 Sergey Vlasov (@sigprof)
// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
#include_next <board.h>
#undef STM32F103xB
diff --git a/keyboards/hineybush/h87a/config.h b/keyboards/hineybush/h87a/config.h
index f15a2f499e..66255785f4 100644
--- a/keyboards/hineybush/h87a/config.h
+++ b/keyboards/hineybush/h87a/config.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define CONFIG_H
-
+#pragma once
/*
* Keyboard Matrix Assignments
diff --git a/keyboards/horrortroll/handwired_k552/board.h b/keyboards/horrortroll/handwired_k552/board.h
index edd68f15ae..bcea7cd793 100644
--- a/keyboards/horrortroll/handwired_k552/board.h
+++ b/keyboards/horrortroll/handwired_k552/board.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <board.h>
#undef STM32F103xB
diff --git a/keyboards/jm60/board.h b/keyboards/jm60/board.h
index 23f9495789..c1c37c0659 100644
--- a/keyboards/jm60/board.h
+++ b/keyboards/jm60/board.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <board.h>
#ifdef STM32_LSECLK
diff --git a/keyboards/kakunpc/business_card/config.h b/keyboards/kakunpc/business_card/config.h
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/kakunpc/business_card/config.h
+++ /dev/null
diff --git a/keyboards/kbdfans/odin/rgb/config.h b/keyboards/kbdfans/odin/rgb/config.h
index 68c3539e02..12c5e539da 100644
--- a/keyboards/kbdfans/odin/rgb/config.h
+++ b/keyboards/kbdfans/odin/rgb/config.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define MATRIX_ROW_PINS { A10, A9, A8, B14, B13, A2 }
#define MATRIX_COL_PINS { A3, A4, A5, A6, A7, B0, B1, B2, B12, A15, B3, B4, B5, B6, B7, B8, C13, C14, C15, A0}
diff --git a/keyboards/kbdfans/odin/soldered/config.h b/keyboards/kbdfans/odin/soldered/config.h
index b44ccbb40d..dcda05b8d0 100644
--- a/keyboards/kbdfans/odin/soldered/config.h
+++ b/keyboards/kbdfans/odin/soldered/config.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define MATRIX_ROW_PINS { A10, A9, A8, B14, B13, A2 }
#define MATRIX_COL_PINS { A3, A4, A5, A6, A7, B0, B1, B2, B12, A15, B3, B4, B5, B6, B7, B8, C13, C14, C15, A0}
diff --git a/keyboards/kbdfans/odin/v2/config.h b/keyboards/kbdfans/odin/v2/config.h
index 160a8e96e7..5ed85f0b91 100644
--- a/keyboards/kbdfans/odin/v2/config.h
+++ b/keyboards/kbdfans/odin/v2/config.h
@@ -14,6 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
#define MATRIX_ROW_PINS { A10, A9, A8, B14, B13, A2 }
#define MATRIX_COL_PINS { A3, A4, A5, A6, A7, B0, B1, B2, B12, A15, B3, B4, B5, B6, B7, B8, C13, C14, C15, A0}
diff --git a/keyboards/kbdfans/odinmini/config.h b/keyboards/kbdfans/odinmini/config.h
index 55c82f43df..c189238244 100644
--- a/keyboards/kbdfans/odinmini/config.h
+++ b/keyboards/kbdfans/odinmini/config.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 8)
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
diff --git a/keyboards/keebio/encoder_actions.h b/keyboards/keebio/encoder_actions.h
index 2484af52ae..1a7fb72014 100644
--- a/keyboards/keebio/encoder_actions.h
+++ b/keyboards/keebio/encoder_actions.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include "quantum.h"
void encoder_action_unregister(void);
diff --git a/keyboards/keychron/common/keychron_common.h b/keyboards/keychron/common/keychron_common.h
index 9f943b8986..b492cda88f 100644
--- a/keyboards/keychron/common/keychron_common.h
+++ b/keyboards/keychron/common/keychron_common.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include "stdint.h"
#ifdef VIA_ENABLE
# include "via.h"
diff --git a/keyboards/keychron/v3/mcuconf.h b/keyboards/keychron/v3/mcuconf.h
index ea7ac022d7..0ca8c64850 100644
--- a/keyboards/keychron/v3/mcuconf.h
+++ b/keyboards/keychron/v3/mcuconf.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <mcuconf.h>
#undef STM32_I2C_USE_I2C1
diff --git a/keyboards/keychron/v5/halconf.h b/keyboards/keychron/v5/halconf.h
index b74de4f0d4..41bddcb279 100644
--- a/keyboards/keychron/v5/halconf.h
+++ b/keyboards/keychron/v5/halconf.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define HAL_USE_I2C TRUE
#include_next <halconf.h>
diff --git a/keyboards/keychron/v5/mcuconf.h b/keyboards/keychron/v5/mcuconf.h
index ea7ac022d7..0ca8c64850 100644
--- a/keyboards/keychron/v5/mcuconf.h
+++ b/keyboards/keychron/v5/mcuconf.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <mcuconf.h>
#undef STM32_I2C_USE_I2C1
diff --git a/keyboards/keychron/v6/halconf.h b/keyboards/keychron/v6/halconf.h
index a7e5474b8c..e490b49e00 100644
--- a/keyboards/keychron/v6/halconf.h
+++ b/keyboards/keychron/v6/halconf.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#define HAL_USE_I2C TRUE
#define PAL_USE_CALLBACKS TRUE
diff --git a/keyboards/keychron/v6/mcuconf.h b/keyboards/keychron/v6/mcuconf.h
index ea7ac022d7..0ca8c64850 100644
--- a/keyboards/keychron/v6/mcuconf.h
+++ b/keyboards/keychron/v6/mcuconf.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <mcuconf.h>
#undef STM32_I2C_USE_I2C1
diff --git a/keyboards/linworks/whale75/chconf.h b/keyboards/linworks/whale75/chconf.h
deleted file mode 100644
index 156fcf1ee2..0000000000
--- a/keyboards/linworks/whale75/chconf.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 QMK Contributors
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include_next <chconf.h>
diff --git a/keyboards/linworks/whale75/mcuconf.h b/keyboards/linworks/whale75/mcuconf.h
index f6dc94d2db..a89e1dd02b 100644
--- a/keyboards/linworks/whale75/mcuconf.h
+++ b/keyboards/linworks/whale75/mcuconf.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include_next <mcuconf.h>
// Underglow uses TIM4, Backlight TIM1, so both are enabled here.
diff --git a/keyboards/lw75/config.h b/keyboards/lw75/config.h
index eb2d9efc26..02e5be2413 100644
--- a/keyboards/lw75/config.h
+++ b/keyboards/lw75/config.h