From 977917431989e07c02751fdb354053daa9a3c7c7 Mon Sep 17 00:00:00 2001 From: QFFS Date: Sat, 29 Mar 2025 12:57:11 +0800 Subject: [PATCH] call backlight_init() before enable backlight breath --- platforms/chibios/drivers/backlight_pwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/chibios/drivers/backlight_pwm.c b/platforms/chibios/drivers/backlight_pwm.c index 25fe7962b0..8336334032 100644 --- a/platforms/chibios/drivers/backlight_pwm.c +++ b/platforms/chibios/drivers/backlight_pwm.c @@ -90,7 +90,7 @@ void backlight_init_ports(void) { pwmStart(&BACKLIGHT_PWM_DRIVER, &pwmCFG); backlight_set(get_backlight_level()); - + backlight_init(); #ifdef BACKLIGHT_BREATHING chVTObjectInit(&breathing_vt); if (is_backlight_breathing()) {