summaryrefslogtreecommitdiffstats
path: root/quantum/rgb.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgb.h')
-rw-r--r--quantum/rgb.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/rgb.h b/quantum/rgb.h
index 7b6ea0542f..2602fc0b20 100644
--- a/quantum/rgb.h
+++ b/quantum/rgb.h
@@ -14,8 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef RGB_H
-#define RGB_H
+#pragma once
__attribute__((weak)) void rgblight_toggle(void){};
@@ -38,5 +37,3 @@ __attribute__((weak)) void rgblight_decrease_val(void){};
__attribute__((weak)) void rgblight_increase_speed(void){};
__attribute__((weak)) void rgblight_decrease_speed(void){};
-
-#endif \ No newline at end of file