diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-26 15:53:12 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 15:53:12 +1100 |
commit | 48f4768d33313e6a6ed48c31f95eb44feda10a51 (patch) | |
tree | 49944f8e0399fc661b9adbf7d8c0962995634579 /quantum/led_matrix.h | |
parent | 53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff) | |
download | qmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.tar.gz qmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.zip |
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/led_matrix.h')
-rw-r--r-- | quantum/led_matrix.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/led_matrix.h b/quantum/led_matrix.h index 5867ba987..7dcdf1d48 100644 --- a/quantum/led_matrix.h +++ b/quantum/led_matrix.h | |||
@@ -17,8 +17,7 @@ | |||
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #ifndef LED_MATRIX_H | 20 | #pragma once |
21 | #define LED_MATRIX_H | ||
22 | 21 | ||
23 | #ifndef BACKLIGHT_ENABLE | 22 | #ifndef BACKLIGHT_ENABLE |
24 | # error You must define BACKLIGHT_ENABLE with LED_MATRIX_ENABLE | 23 | # error You must define BACKLIGHT_ENABLE with LED_MATRIX_ENABLE |
@@ -123,5 +122,3 @@ typedef struct { | |||
123 | } led_matrix_driver_t; | 122 | } led_matrix_driver_t; |
124 | 123 | ||
125 | extern const led_matrix_driver_t led_matrix_driver; | 124 | extern const led_matrix_driver_t led_matrix_driver; |
126 | |||
127 | #endif | ||