diff --git a/Include/Gui.HC b/Include/Gui.HC index 94519a1..a2c0d1d 100644 --- a/Include/Gui.HC +++ b/Include/Gui.HC @@ -79,5 +79,5 @@ U0 @gui_event_loop(CTask* task) } Ipc.InitQueue(Fs); -Spawn(&@gui_event_loop, Fs, Fs->task_name, 1); +CTask* app_event_loop = Spawn(&@gui_event_loop, Fs, Fs->task_name, 1); System.Log(Fs, "Task running at 0x%08x", Fs); \ No newline at end of file