diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-24 04:21:37 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 17:21:37 +0000 |
commit | 1e07ff1fb108a305feca659b17ec03ba3e750455 (patch) | |
tree | 2e6de7250e713a53a9c5d35759e3b6add867ebb4 /keyboards/handwired | |
parent | fa4dfb542fb62e0279e679a10f1ea7e01b4bf61c (diff) |
Fix some more missing `#pragma once`s (#20241)
Diffstat (limited to 'keyboards/handwired')
6 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/handwired/d48/taphold.h b/keyboards/handwired/d48/taphold.h index 3bc5ca0275..2a691aa63f 100644 --- a/keyboards/handwired/d48/taphold.h +++ b/keyboards/handwired/d48/taphold.h @@ -1,3 +1,5 @@ +#pragma once + #include "quantum.h" typedef enum taphold_mode_t { diff --git a/keyboards/handwired/promethium/color.h b/keyboards/handwired/promethium/color.h index 077242d5f1..2bbfcb83a7 100644 --- a/keyboards/handwired/promethium/color.h +++ b/keyboards/handwired/promethium/color.h @@ -1,3 +1,5 @@ +#pragma once + #define COLOR_BLANK 0, 0, 0 #define COLOR_BLACK 0, 0, 0 diff --git a/keyboards/handwired/promethium/rgbsps.h b/keyboards/handwired/promethium/rgbsps.h index 72612a7a82..77689344fc 100644 --- a/keyboards/handwired/promethium/rgbsps.h +++ b/keyboards/handwired/promethium/rgbsps.h @@ -1,3 +1,5 @@ +#pragma once + void rgbsps_set(uint8_t index, uint8_t r, uint8_t g, uint8_t b); void rgbsps_setall(uint8_t r, uint8_t g, uint8_t b); void rgbsps_turnoff(void); diff --git a/keyboards/handwired/symmetric70_proto/matrix_fast/test_config.h b/keyboards/handwired/symmetric70_proto/matrix_fast/test_config.h index 25b5d4e018..bc9adddbbd 100644 --- a/keyboards/handwired/symmetric70_proto/matrix_fast/test_config.h +++ b/keyboards/handwired/symmetric70_proto/matrix_fast/test_config.h @@ -1,3 +1,5 @@ +#pragma once + // list of OUTPUT(row) ports #define MATRIX_OUT_PORTS (Port_D, MCU_GPIO, D0), (Port_C, MCU_GPIO, C0), (Port_E, MCU_GPIO, E0), (Port_B, MCU_GPIO, B0) // list of OUTPUT(row) pins diff --git a/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_74hc157.h b/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_74hc157.h index 6abc25b862..bb310f28f9 100644 --- a/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_74hc157.h +++ b/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_74hc157.h @@ -1,3 +1,5 @@ +#pragma once + #define MATRIX_EXTENSION_74HC157 B2 // #define MATRIX_EXTENSION_74HC153 B2, B6 diff --git a/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_direct.h b/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_direct.h index aeea12950d..8b475ddcd6 100644 --- a/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_direct.h +++ b/keyboards/handwired/symmetric70_proto/matrix_fast/test_config_direct.h @@ -1,3 +1,5 @@ +#pragma once + #if defined(__AVR__) /* -------------------- AVR (Pro Micro) ----------------------- */ |