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/rgb.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/rgb.h')
-rw-r--r-- | quantum/rgb.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/rgb.h b/quantum/rgb.h index 7b6ea0542..2602fc0b2 100644 --- a/quantum/rgb.h +++ b/quantum/rgb.h | |||
@@ -14,8 +14,7 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef RGB_H | 17 | #pragma once |
18 | #define RGB_H | ||
19 | 18 | ||
20 | __attribute__((weak)) void rgblight_toggle(void){}; | 19 | __attribute__((weak)) void rgblight_toggle(void){}; |
21 | 20 | ||
@@ -38,5 +37,3 @@ __attribute__((weak)) void rgblight_decrease_val(void){}; | |||
38 | __attribute__((weak)) void rgblight_increase_speed(void){}; | 37 | __attribute__((weak)) void rgblight_increase_speed(void){}; |
39 | 38 | ||
40 | __attribute__((weak)) void rgblight_decrease_speed(void){}; | 39 | __attribute__((weak)) void rgblight_decrease_speed(void){}; |
41 | |||
42 | #endif \ No newline at end of file | ||