From 2869deeffe7ed78baf3ef017f1eac59eb984bebf Mon Sep 17 00:00:00 2001 From: tobozo Date: Thu, 9 Dec 2021 15:53:15 +0100 Subject: [PATCH] M5StickC does not have tft.clear() --- src/M5StackUpdaterUI.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/M5StackUpdaterUI.h b/src/M5StackUpdaterUI.h index 3d67cd9b..78f137e2 100644 --- a/src/M5StackUpdaterUI.h +++ b/src/M5StackUpdaterUI.h @@ -298,7 +298,7 @@ static void SDMenuProgressHeadless( int state, int size ) uint8_t authorNamePosY = appNamePosy + lineHeightBig*1.8; uint8_t binFileNamePosY = authorNamePosY+lineHeightSmall*1.8; - SDU_GFX.clear(); + SDU_GFX.fillScreen(TFT_BLACK); // M5StickC does not have tft.clear() drawSDUSplashElement( msg, centerX, 0, &SplashTitleStyle ); if( SDUCfg.appName != nullptr ) {