From 7786926950902cf4ce49a93894f69a205d6fd325 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Fri, 31 Jan 2020 19:19:33 +0000 Subject: [PATCH] board: Fix build on boards without ST7789_SPI_DISPLAY --- src/boards.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boards.c b/src/boards.c index 6256757..0e00b96 100644 --- a/src/boards.c +++ b/src/boards.c @@ -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