From 29ffe62ba875e119662bbea23a76bb7d0a41e585 Mon Sep 17 00:00:00 2001 From: Claudio Benvenuti Date: Thu, 12 Oct 2023 15:19:24 +0200 Subject: [PATCH] fix regression introduced in 25db0a4 that prevented T-Display_V1 display to updates; fix for displayDriver.h case sensitive filename --- src/drivers/displays/amoledDisplayDriver.cpp | 4 ++-- src/drivers/displays/display.h | 2 +- src/drivers/displays/dongleDisplayDriver.cpp | 4 ++-- src/drivers/displays/esp23_2432s028r.cpp | 4 ++-- src/drivers/displays/noDisplayDriver.cpp | 4 ++-- src/drivers/displays/tDisplayDriver.cpp | 4 ++-- src/drivers/displays/tDisplayV1Driver.cpp | 7 ++----- src/drivers/displays/t_qtDisplayDriver.cpp | 4 ++-- 8 files changed, 15 insertions(+), 18 deletions(-) diff --git a/src/drivers/displays/amoledDisplayDriver.cpp b/src/drivers/displays/amoledDisplayDriver.cpp index 4abc576a..67fb27c3 100644 --- a/src/drivers/displays/amoledDisplayDriver.cpp +++ b/src/drivers/displays/amoledDisplayDriver.cpp @@ -1,4 +1,4 @@ -#include "DisplayDriver.h" +#include "displayDriver.h" #ifdef AMOLED_DISPLAY @@ -243,4 +243,4 @@ DisplayDriver amoledDisplayDriver = { 0, WIDTH, HEIGHT}; -#endif \ No newline at end of file +#endif diff --git a/src/drivers/displays/display.h b/src/drivers/displays/display.h index 2a4a469e..f1d321ba 100644 --- a/src/drivers/displays/display.h +++ b/src/drivers/displays/display.h @@ -1,7 +1,7 @@ #ifndef DISPLAY_H #define DISPLAY_H -#include "DisplayDriver.h" +#include "displayDriver.h" extern DisplayDriver *currentDisplayDriver; diff --git a/src/drivers/displays/dongleDisplayDriver.cpp b/src/drivers/displays/dongleDisplayDriver.cpp index 9e27d0f5..28d45f45 100644 --- a/src/drivers/displays/dongleDisplayDriver.cpp +++ b/src/drivers/displays/dongleDisplayDriver.cpp @@ -1,4 +1,4 @@ -#include "DisplayDriver.h" +#include "displayDriver.h" #ifdef DONGLE_DISPLAY @@ -216,4 +216,4 @@ DisplayDriver dongleDisplayDriver = { WIDTH, HEIGHT}; -#endif \ No newline at end of file +#endif diff --git a/src/drivers/displays/esp23_2432s028r.cpp b/src/drivers/displays/esp23_2432s028r.cpp index 3e783f20..00d3c897 100644 --- a/src/drivers/displays/esp23_2432s028r.cpp +++ b/src/drivers/displays/esp23_2432s028r.cpp @@ -1,4 +1,4 @@ -#include "DisplayDriver.h" +#include "displayDriver.h" #ifdef ESP32_2432S028R @@ -458,4 +458,4 @@ DisplayDriver esp32_2432S028RDriver = { 0, WIDTH, HEIGHT}; -#endif \ No newline at end of file +#endif diff --git a/src/drivers/displays/noDisplayDriver.cpp b/src/drivers/displays/noDisplayDriver.cpp index 636cf81a..cc428122 100644 --- a/src/drivers/displays/noDisplayDriver.cpp +++ b/src/drivers/displays/noDisplayDriver.cpp @@ -1,4 +1,4 @@ -#include "DisplayDriver.h" +#include "displayDriver.h" #ifdef NO_DISPLAY @@ -101,4 +101,4 @@ DisplayDriver noDisplayDriver = { 0, 0, }; -#endif \ No newline at end of file +#endif diff --git a/src/drivers/displays/tDisplayDriver.cpp b/src/drivers/displays/tDisplayDriver.cpp index 76eede4c..908bb41d 100644 --- a/src/drivers/displays/tDisplayDriver.cpp +++ b/src/drivers/displays/tDisplayDriver.cpp @@ -1,4 +1,4 @@ -#include "DisplayDriver.h" +#include "displayDriver.h" #ifdef T_DISPLAY @@ -231,4 +231,4 @@ DisplayDriver tDisplayDriver = { 0, WIDTH, HEIGHT}; -#endif \ No newline at end of file +#endif diff --git a/src/drivers/displays/tDisplayV1Driver.cpp b/src/drivers/displays/tDisplayV1Driver.cpp index 93b8f766..168675ea 100644 --- a/src/drivers/displays/tDisplayV1Driver.cpp +++ b/src/drivers/displays/tDisplayV1Driver.cpp @@ -1,4 +1,4 @@ -#include "DisplayDriver.h" +#include "displayDriver.h" #ifdef V1_DISPLAY @@ -96,7 +96,6 @@ void tDisplay_MinerScreen(unsigned long mElapsed) // Push prepared background to screen background.pushSprite(0, 0); - background.deleteSprite(); } void tDisplay_ClockScreen(unsigned long mElapsed) @@ -135,7 +134,6 @@ void tDisplay_ClockScreen(unsigned long mElapsed) // Push prepared background to screen background.pushSprite(0, 0); - background.deleteSprite(); } void tDisplay_GlobalHashScreen(unsigned long mElapsed) @@ -195,7 +193,6 @@ void tDisplay_GlobalHashScreen(unsigned long mElapsed) // Push prepared background to screen background.pushSprite(0, 0); - background.deleteSprite(); } void tDisplay_LoadingScreen(void) @@ -234,4 +231,4 @@ DisplayDriver tDisplayV1Driver = { 0, WIDTH, HEIGHT}; -#endif \ No newline at end of file +#endif diff --git a/src/drivers/displays/t_qtDisplayDriver.cpp b/src/drivers/displays/t_qtDisplayDriver.cpp index f632caea..453bbf26 100644 --- a/src/drivers/displays/t_qtDisplayDriver.cpp +++ b/src/drivers/displays/t_qtDisplayDriver.cpp @@ -1,4 +1,4 @@ -#include "DisplayDriver.h" +#include "displayDriver.h" #ifdef T_QT_DISPLAY @@ -177,4 +177,4 @@ DisplayDriver t_qtDisplayDriver = { 0, WIDTH, HEIGHT}; -#endif \ No newline at end of file +#endif