From 58800050b3dec5c320b9176acf4670bb562c55c7 Mon Sep 17 00:00:00 2001 From: Toto99303 Date: Sat, 16 Dec 2023 21:40:50 +0200 Subject: [PATCH] M5StickC support added --- src/drivers/displays/display.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/drivers/displays/display.cpp b/src/drivers/displays/display.cpp index 9061d8e..7d718be 100644 --- a/src/drivers/displays/display.cpp +++ b/src/drivers/displays/display.cpp @@ -1,13 +1,13 @@ #include "display.h" -#ifdef LED_DISPLAY -DisplayDriver *currentDisplayDriver = &ledDisplayDriver; -#endif - #ifdef NO_DISPLAY DisplayDriver *currentDisplayDriver = &noDisplayDriver; #endif +#ifdef LED_DISPLAY +DisplayDriver *currentDisplayDriver = &ledDisplayDriver; +#endif + #ifdef T_DISPLAY DisplayDriver *currentDisplayDriver = &tDisplayDriver; #endif