From 4eaeef30f23347a1c8ee24e13072328fa8124e66 Mon Sep 17 00:00:00 2001 From: p43lz3r <16374477+paelzer@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:23:37 +0100 Subject: [PATCH] Update display.cpp to support another ESP32_2432S028 variant --- src/drivers/displays/display.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/drivers/displays/display.cpp b/src/drivers/displays/display.cpp index 7d718be..3838aa3 100644 --- a/src/drivers/displays/display.cpp +++ b/src/drivers/displays/display.cpp @@ -24,6 +24,10 @@ DisplayDriver *currentDisplayDriver = &dongleDisplayDriver; DisplayDriver *currentDisplayDriver = &esp32_2432S028RDriver; #endif +#ifdef ESP32_2432S028_2USB +DisplayDriver *currentDisplayDriver = &esp32_2432S028RDriver; +#endif + #ifdef T_QT_DISPLAY DisplayDriver *currentDisplayDriver = &t_qtDisplayDriver; #endif