summaryrefslogtreecommitdiff
path: root/quantum/visualizer/lcd_backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/visualizer/lcd_backlight.c')
-rw-r--r--quantum/visualizer/lcd_backlight.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/visualizer/lcd_backlight.c b/quantum/visualizer/lcd_backlight.c
index 00de3fab52..6cd996f75e 100644
--- a/quantum/visualizer/lcd_backlight.c
+++ b/quantum/visualizer/lcd_backlight.c
@@ -83,3 +83,7 @@ void lcd_backlight_brightness(uint8_t b) {
current_brightness = b;
lcd_backlight_color(current_hue, current_saturation, current_intensity);
}
+
+uint8_t lcd_get_backlight_brightness(void) {
+ return current_brightness;
+}