diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-22 02:55:23 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 15:55:23 +0000 |
commit | 499fc3b85e99de725535eb73f653d77a71339e3f (patch) | |
tree | 50b956f7558ea42f531cd04038d925529fdc8696 /keyboards/keychron | |
parent | 9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (diff) |
Add some missing `#pragma once`s (#19902)
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 |