diff options
Diffstat (limited to 'board/bolt/board.c')
-rw-r--r-- | board/bolt/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/bolt/board.c b/board/bolt/board.c index 1a89534388..3d88c762d8 100644 --- a/board/bolt/board.c +++ b/board/bolt/board.c @@ -181,10 +181,10 @@ const struct adc_t adc_channels[] = { }; BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT); -/* PWM channels */ +/* PWM channels. Must be in the exactly same order as in enum pwm_channel. */ const struct pwm_t pwm_channels[] = { - [PWM_CH_FAN] = {CONFIG_FAN_CH_CPU, PWM_CONFIG_HAS_RPM_MODE}, - [PWM_CH_KBLIGHT] = {4, 0}, + {CONFIG_FAN_CH_CPU, PWM_CONFIG_HAS_RPM_MODE}, + {4, 0}, }; BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); |