Skip to content

Commit 0670265

Browse files
committed
Add ifdef guard for apa102 teardown
1 parent 6f7dc38 commit 0670265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boards/boards.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void board_teardown(void)
135135
led_pwm_teardown();
136136
#endif
137137

138-
#if defined(LED_NEOPIXEL) || defined(LED_RGB_RED_PIN)
138+
#if defined(LED_NEOPIXEL) || defined(LED_RGB_RED_PIN) || defined(LED_APA102)
139139
neopixel_teardown();
140140
#endif
141141

0 commit comments

Comments
 (0)