summaryrefslogtreecommitdiffstats
path: root/quantum/led_matrix.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:53:12 +1100
committerGitHub <noreply@github.com>2020-12-26 15:53:12 +1100
commit48f4768d33313e6a6ed48c31f95eb44feda10a51 (patch)
tree49944f8e0399fc661b9adbf7d8c0962995634579 /quantum/led_matrix.h
parent53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff)
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/led_matrix.h')
-rw-r--r--quantum/led_matrix.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/led_matrix.h b/quantum/led_matrix.h
index 5867ba9876..7dcdf1d482 100644
--- a/quantum/led_matrix.h
+++ b/quantum/led_matrix.h
@@ -17,8 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LED_MATRIX_H
-#define LED_MATRIX_H
+#pragma once
#ifndef BACKLIGHT_ENABLE
# error You must define BACKLIGHT_ENABLE with LED_MATRIX_ENABLE
@@ -123,5 +122,3 @@ typedef struct {
} led_matrix_driver_t;
extern const led_matrix_driver_t led_matrix_driver;
-
-#endif