summaryrefslogtreecommitdiff
path: root/board/volteer
diff options
context:
space:
mode:
Diffstat (limited to 'board/volteer')
-rw-r--r--board/volteer/led.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/volteer/led.c b/board/volteer/led.c
index c0ad9be6b0..35bede89c5 100644
--- a/board/volteer/led.c
+++ b/board/volteer/led.c
@@ -31,6 +31,7 @@ struct pwm_led led_color_map[] = {
[EC_LED_COLOR_AMBER] = { 100, 20, 0 },
};
+#ifndef CONFIG_ZEPHYR
struct pwm_led pwm_leds[] = {
/* 2 RGB diffusers controlled by 1 set of 3 channels. */
[PWM_LED0] = {
@@ -41,6 +42,7 @@ struct pwm_led pwm_leds[] = {
.set_duty = &pwm_set_duty,
},
};
+#endif
void led_get_brightness_range(enum ec_led_id led_id, uint8_t *brightness_range)
{