Skip to content

Commit

Permalink
M5StickC does not have tft.clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Dec 9, 2021
1 parent c67f2b4 commit 2869dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/M5StackUpdaterUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 2869dee

Please sign in to comment.