diff options
| author | Ryan <fauxpark@gmail.com> | 2021-09-01 19:03:14 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 19:03:14 +1000 |
| commit | 41c50bb653b840c595fb31541729d892f68666e6 (patch) | |
| tree | ba05c7c9654f7be1104b20f3195dd2cf288e004e /keyboards/yosino58 | |
| parent | 971d36bb9ea37962c57733e5f7c0c24e5a6cebeb (diff) | |
| download | qmk_firmware-41c50bb653b840c595fb31541729d892f68666e6.tar.gz qmk_firmware-41c50bb653b840c595fb31541729d892f68666e6.zip | |
Change keyboard level include guards to `pragma once` (#14248)
* Change keyboard level include guards to `pragma once`
And clean up a lot of layout macros
* Oops
* Remove dangling endif
Diffstat (limited to 'keyboards/yosino58')
| -rw-r--r-- | keyboards/yosino58/rev1/split_scomm.h | 5 | ||||
| -rw-r--r-- | keyboards/yosino58/rev1/split_util.h | 5 | ||||
| -rw-r--r-- | keyboards/yosino58/serial.h | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/keyboards/yosino58/rev1/split_scomm.h b/keyboards/yosino58/rev1/split_scomm.h index 873d8939d..16887eb74 100644 --- a/keyboards/yosino58/rev1/split_scomm.h +++ b/keyboards/yosino58/rev1/split_scomm.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef SPLIT_COMM_H | 1 | #pragma once |
| 2 | #define SPLIT_COMM_H | ||
| 3 | 2 | ||
| 4 | #ifndef SERIAL_USE_MULTI_TRANSACTION | 3 | #ifndef SERIAL_USE_MULTI_TRANSACTION |
| 5 | /* --- USE Simple API (OLD API, compatible with let's split serial.c) --- */ | 4 | /* --- USE Simple API (OLD API, compatible with let's split serial.c) --- */ |
| @@ -20,5 +19,3 @@ void serial_slave_init(void); | |||
| 20 | int serial_update_buffers(int master_changed); | 19 | int serial_update_buffers(int master_changed); |
| 21 | 20 | ||
| 22 | #endif | 21 | #endif |
| 23 | |||
| 24 | #endif /* SPLIT_COMM_H */ | ||
diff --git a/keyboards/yosino58/rev1/split_util.h b/keyboards/yosino58/rev1/split_util.h index 687ca19bd..f59304756 100644 --- a/keyboards/yosino58/rev1/split_util.h +++ b/keyboards/yosino58/rev1/split_util.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef SPLIT_KEYBOARD_UTIL_H | 1 | #pragma once |
| 2 | #define SPLIT_KEYBOARD_UTIL_H | ||
| 3 | 2 | ||
| 4 | #include <stdbool.h> | 3 | #include <stdbool.h> |
| 5 | #include "eeconfig.h" | 4 | #include "eeconfig.h" |
| @@ -15,5 +14,3 @@ void split_keyboard_setup(void); | |||
| 15 | bool has_usb(void); | 14 | bool has_usb(void); |
| 16 | 15 | ||
| 17 | void matrix_master_OLED_init (void); | 16 | void matrix_master_OLED_init (void); |
| 18 | |||
| 19 | #endif | ||
diff --git a/keyboards/yosino58/serial.h b/keyboards/yosino58/serial.h index 7e0c0847a..ac3459c87 100644 --- a/keyboards/yosino58/serial.h +++ b/keyboards/yosino58/serial.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef SOFT_SERIAL_H | 1 | #pragma once |
| 2 | #define SOFT_SERIAL_H | ||
| 3 | 2 | ||
| 4 | #include <stdbool.h> | 3 | #include <stdbool.h> |
| 5 | 4 | ||
| @@ -80,5 +79,3 @@ int soft_serial_transaction(int sstd_index); | |||
| 80 | #ifdef SERIAL_USE_MULTI_TRANSACTION | 79 | #ifdef SERIAL_USE_MULTI_TRANSACTION |
| 81 | int soft_serial_get_and_clean_status(int sstd_index); | 80 | int soft_serial_get_and_clean_status(int sstd_index); |
| 82 | #endif | 81 | #endif |
| 83 | |||
| 84 | #endif /* SOFT_SERIAL_H */ | ||
