We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80bb5a7 commit 079df56Copy full SHA for 079df56
main/gui.c
@@ -2301,6 +2301,12 @@ static bool update_updateables(void)
2301
// gui task, for managing display/activities
2302
static void gui_task(void* args)
2303
{
2304
+ // Flush/clear display as soon as we're able
2305
+ JADE_SEMAPHORE_TAKE(gui_mutex);
2306
+ display_flush();
2307
+ JADE_SEMAPHORE_GIVE(gui_mutex);
2308
+
2309
+ // Loop to periodically handle gui events
2310
const TickType_t period = 1000 / GUI_TARGET_FRAMERATE / portTICK_PERIOD_MS;
2311
TickType_t last_wake = xTaskGetTickCount();
2312
0 commit comments