From 1e07ff1fb108a305feca659b17ec03ba3e750455 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 24 Mar 2023 04:21:37 +1100 Subject: Fix some more missing `#pragma once`s (#20241) --- keyboards/handwired/d48/taphold.h | 2 ++ keyboards/handwired/promethium/color.h | 2 ++ keyboards/handwired/promethium/rgbsps.h | 2 ++ keyboards/handwired/symmetric70_proto/matrix_fast/test_config.h | 2 ++ keyboards/handwired/symmetric70_proto/matrix_fast/test_config_74hc157.h | 2 ++ keyboards/handwired/symmetric70_proto/matrix_fast/test_config_direct.h | 2 ++ 6 files changed, 12 insertions(+) (limited to 'keyboards/handwired') 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) ----------------------- */ -- cgit v1.2.3