summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/coral/board.c2
-rw-r--r--board/coral/board.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/board/coral/board.c b/board/coral/board.c
index e12b7543f6..9fe3aaae78 100644
--- a/board/coral/board.c
+++ b/board/coral/board.c
@@ -167,8 +167,6 @@ 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[] = {
- [PWM_CH_LED_GREEN] = { 2, PWM_CONFIG_DSLEEP, 100 },
- [PWM_CH_LED_RED] = { 3, PWM_CONFIG_DSLEEP, 100 },
[PWM_CH_KBLIGHT] = { 4, PWM_CONFIG_DSLEEP, 100 },
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
diff --git a/board/coral/board.h b/board/coral/board.h
index 72245bfea9..53c32632c5 100644
--- a/board/coral/board.h
+++ b/board/coral/board.h
@@ -231,9 +231,7 @@ enum adc_channel {
};
enum pwm_channel {
- PWM_CH_LED_GREEN = 0,
- PWM_CH_LED_RED,
- PWM_CH_KBLIGHT,
+ PWM_CH_KBLIGHT = 0,
/* Number of PWM channels */
PWM_CH_COUNT
};