Skip to content

Commit

Permalink
move initial refresh handling to meshtastic/firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
todd-herbert committed Mar 9, 2024
1 parent f04cce2 commit 8aa46f2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/GxEPD2_EPD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,6 @@ bool GxEPD2_EPD::isBusy() {

// Used to skip _waitWhileBusy(), for meshtastic async
bool GxEPD2_EPD::_isUpdatingFull(const char* comment) {
// On first update, a fast-refresh might also clear screen using a full-refresh
// If meshtastic/firmware asked for fast-refresh, it will expect this full-refresh to block. So: force that to happen
if (_initial_refresh)
return false;

// True if comment matches
return ( strcmp(comment, "_Update_Full") == 0 );
}

0 comments on commit 8aa46f2

Please sign in to comment.