summaryrefslogtreecommitdiff
path: root/keyboards/keychron/v5
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/v5')
-rw-r--r--keyboards/keychron/v5/halconf.h2
-rw-r--r--keyboards/keychron/v5/mcuconf.h2
2 files changed, 4 insertions, 0 deletions
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