Skip to content

Commit

Permalink
fixed cleart screen over wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Dec 19, 2024
1 parent 113f91a commit a4f67ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ void IRAM_ATTR HandlePacket(AsyncUDPPacket packet) {

case 10: // clear screen
{
// Wait until everything is rendered
xSemaphoreTake(xBufferProcessed[currentBuffer], portMAX_DELAY);
xSemaphoreGive(xBufferProcessed[currentBuffer]);
ClearScreen();
break;
}
Expand Down

0 comments on commit a4f67ec

Please sign in to comment.