Fix conditional build for WS2812.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
b12e66a057
commit
c6d08ae139
1 changed files with 2 additions and 1 deletions
|
|
@ -225,7 +225,8 @@ void led_off_all() {
|
|||
gpio_put(TINY2040_LED_B_PIN, 1);
|
||||
#elif defined(PICO_DEFAULT_LED_PIN)
|
||||
gpio_put(PICO_DEFAULT_LED_PIN, 0);
|
||||
#elif (PICO_DEFAULT_WS2812_PIN)
|
||||
#endif
|
||||
#if (PICO_DEFAULT_WS2812_PIN)
|
||||
PIO pio = pio0;
|
||||
int sm = 0;
|
||||
uint offset = pio_add_program(pio, &ws2812_program);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue