summaryrefslogtreecommitdiffstats
path: root/quantum/visualizer/lcd_backlight.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/visualizer/lcd_backlight.h
parent53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff)
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/visualizer/lcd_backlight.h')
-rw-r--r--quantum/visualizer/lcd_backlight.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/visualizer/lcd_backlight.h b/quantum/visualizer/lcd_backlight.h
index 0a1535edf5..4ea5b14639 100644
--- a/quantum/visualizer/lcd_backlight.h
+++ b/quantum/visualizer/lcd_backlight.h
@@ -22,8 +22,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
-#ifndef LCD_BACKLIGHT_H_
-#define LCD_BACKLIGHT_H_
+#pragma once
+
#include <stdint.h>
// Helper macros for storing hue, staturation and intensity as unsigned integers
@@ -41,5 +41,3 @@ uint8_t lcd_get_backlight_brightness(void);
void lcd_backlight_hal_init(void);
void lcd_backlight_hal_color(uint16_t r, uint16_t g, uint16_t b);
-
-#endif /* LCD_BACKLIGHT_H_ */