diff options
Diffstat (limited to 'board/madoo')
-rw-r--r-- | board/madoo/board.h | 1 | ||||
-rw-r--r-- | board/madoo/led.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/board/madoo/board.h b/board/madoo/board.h index 0006c33f77..d947c5746a 100644 --- a/board/madoo/board.h +++ b/board/madoo/board.h @@ -39,7 +39,6 @@ /* LED */ #define CONFIG_LED_COMMON -#define CONFIG_LED_POWER_LED #define CONFIG_LED_ONOFF_STATES #define CONFIG_LED_ONOFF_STATES_BAT_LOW 10 diff --git a/board/madoo/led.c b/board/madoo/led.c index 31afda0f56..58387fea26 100644 --- a/board/madoo/led.c +++ b/board/madoo/led.c @@ -36,7 +36,7 @@ struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { {LED_OFF, 0.5 * 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}, @@ -53,7 +53,7 @@ const enum ec_led_id supported_led_ids[] = { const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids); -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_PWR_LED_WHITE_L, LED_ON_LVL); |