diff options
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/config.h b/include/config.h index 2ff47b6972..4df4b61217 100644 --- a/include/config.h +++ b/include/config.h @@ -2220,10 +2220,16 @@ /* * By default the PWM LED behaviour is reflected on both LEDs and includes the - * chipset state, battery state, as well as the charging state. However, enable - * this CONFIG_* option to only allow the charging state to be reflected on the - * LEDs. Additionally, only the active charge port will indicate the charge - * state. + * chipset state, battery state, as well as the charging state. Enable + * this CONFIG_* option to show only the charging state on the LEDs. + */ +#undef CONFIG_LED_PWM_CHARGE_STATE_ONLY + +/* + * By default the PWM LED behaviour is reflected on both LEDs and includes the + * chipset state, battery state, as well as the charging state. Enable + * this CONFIG_* option to show only the charging state, and only on the LED of + * the active charge port. */ #undef CONFIG_LED_PWM_ACTIVE_CHARGE_PORT_ONLY @@ -3935,6 +3941,10 @@ #define CONFIG_LED_PWM #endif /* defined(CONFIG_LED_PWM_COUNT) */ +#ifdef CONFIG_LED_PWM_ACTIVE_CHARGE_PORT_ONLY +#define CONFIG_LED_PWM_CHARGE_STATE_ONLY +#endif + /*****************************************************************************/ /* * Define derived configuration options for EC-EC communication |