summaryrefslogtreecommitdiff
path: root/board/kevin/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/kevin/board.c')
-rw-r--r--board/kevin/board.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/kevin/board.c b/board/kevin/board.c
index 538c91651f..8ec68340f3 100644
--- a/board/kevin/board.c
+++ b/board/kevin/board.c
@@ -68,10 +68,14 @@ BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
/******************************************************************************/
/* PWM channels. Must be in the exactly same order as in enum pwm_channel. */
const struct pwm_t pwm_channels[] = {
+#ifdef BOARD_KEVIN
[PWM_CH_LED_GREEN] = { 0, PWM_CONFIG_DSLEEP, 100 },
- [PWM_CH_BKLIGHT] = { 2, 0, 10000 },
- [PWM_CH_LED_RED] = { 3, PWM_CONFIG_DSLEEP, 100 },
+#endif
+ [PWM_CH_BKLIGHT] = { 2, 0, 10000 },
+ [PWM_CH_LED_RED] = { 3, PWM_CONFIG_DSLEEP, 100 },
+#ifdef BOARD_KEVIN
[PWM_CH_LED_BLUE] = { 4, PWM_CONFIG_DSLEEP, 100 },
+#endif
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);