diff options
Diffstat (limited to 'board/delbin')
-rw-r--r-- | board/delbin/board.h | 1 | ||||
-rw-r--r-- | board/delbin/led.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/board/delbin/board.h b/board/delbin/board.h index 1c61a52da5..59af4d864a 100644 --- a/board/delbin/board.h +++ b/board/delbin/board.h @@ -36,7 +36,6 @@ #define CONFIG_POWER_PP5000_CONTROL /* LED defines */ -#define CONFIG_LED_POWER_LED #define CONFIG_LED_ONOFF_STATES /* Keyboard features */ diff --git a/board/delbin/led.c b/board/delbin/led.c index fb61d35574..7793e73271 100644 --- a/board/delbin/led.c +++ b/board/delbin/led.c @@ -29,7 +29,7 @@ struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { {EC_LED_COLOR_AMBER, 2 * LED_ONE_SEC} }, }; -const struct led_descriptor +__override const struct led_descriptor led_pwr_state_table[PWR_LED_NUM_STATES][LED_NUM_PHASES] = { [PWR_LED_STATE_ON] = {{EC_LED_COLOR_WHITE, LED_INDEFINITE} }, [PWR_LED_STATE_SUSPEND_AC] = {{EC_LED_COLOR_WHITE, 1 * LED_ONE_SEC}, @@ -65,7 +65,7 @@ void led_set_color_battery(enum ec_led_colors color) } } -void led_set_color_power(enum ec_led_colors color) +__override void led_set_color_power(enum ec_led_colors color) { if (color == EC_LED_COLOR_WHITE) gpio_set_level(GPIO_LED_3_L, LED_ON_LVL); |