summaryrefslogtreecommitdiff
path: root/common/led_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/led_pwm.c')
-rw-r--r--common/led_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/led_pwm.c b/common/led_pwm.c
index 4f7297d003..b4d590bdf2 100644
--- a/common/led_pwm.c
+++ b/common/led_pwm.c
@@ -168,7 +168,7 @@ static void pulse_leds(enum ec_led_colors color, int ontime, int period)
#ifdef CONFIG_BATTERY
static int show_charge_state(void)
{
- enum charge_state chg_st = charge_get_state();
+ enum led_pwr_state chg_st = charge_get_state();
/*
* The colors listed below are the default, but can be overridden.