diff options
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 | ||