1
0
Fork 0

board: Fix build on boards without ST7789_SPI_DISPLAY

pull/1/head
Daniel Thompson 2020-01-31 19:19:33 +00:00
parent 6e5c33824e
commit 7786926950
1 changed files with 2 additions and 0 deletions

View File

@ -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