board: Fix build on boards without ST7789_SPI_DISPLAY
parent
6e5c33824e
commit
7786926950
|
@ -357,7 +357,9 @@ void led_state(uint32_t state)
|
|||
#else // LEDS_NUMBER > 0
|
||||
void led_state(uint32_t state)
|
||||
{
|
||||
#ifdef ST7789_SPI_DISPLAY
|
||||
st7789_state(state);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue