diff options
Diffstat (limited to 'keyboards/keychron')
-rw-r--r-- | keyboards/keychron/common/keychron_common.h | 2 | ||||
-rw-r--r-- | keyboards/keychron/v3/mcuconf.h | 2 | ||||
-rw-r--r-- | keyboards/keychron/v5/halconf.h | 2 | ||||
-rw-r--r-- | keyboards/keychron/v5/mcuconf.h | 2 | ||||
-rw-r--r-- | keyboards/keychron/v6/halconf.h | 2 | ||||
-rw-r--r-- | keyboards/keychron/v6/mcuconf.h | 2 |
6 files changed, 12 insertions, 0 deletions
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 |