Skip to content

Commit 1e2d343

Browse files
committed
ugfx: pin ugfx task to core 0
1 parent f1d8ff8 commit 1e2d343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ugfx/src/gos/gos_freertos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_
158158
stacksz = configMINIMAL_STACK_SIZE;
159159

160160
task = 0;
161-
if (xTaskCreatePinnedToCore(fn, "uGFX_TASK", stacksz, param, prio, &task, 1) != pdPASS)
161+
if (xTaskCreatePinnedToCore(fn, "uGFX_TASK", stacksz, param, prio, &task, 0) != pdPASS)
162162
return 0;
163163

164164
return task;

0 commit comments

Comments
 (0)