From 48f4768d33313e6a6ed48c31f95eb44feda10a51 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 26 Dec 2020 15:53:12 +1100 Subject: Change include guards in quantum/ to pragma once (#11239) --- quantum/rgb.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'quantum/rgb.h') 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 . */ -#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 -- cgit v1.2.3