summaryrefslogtreecommitdiff
path: root/src/code/graph.c
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2022-04-09 01:20:23 +0100
committerGitHub <noreply@github.com>2022-04-08 20:20:23 -0400
commit7068ad3703f2cd2e08e6661ab57c9b1877dbd4b2 (patch)
treec32bfdfd9c0376f2cb3d1e26ebbf290878964868 /src/code/graph.c
parent9984c267d9d7a8ab207e092b9fa9aa87c894f808 (diff)
Message Queues, Threads, and surroundings cleanup (#1178)
* message queues, threads, and surroundings cleanup * Format, make the formatter prefer clang-format-11 if found * Fix __osThreadTail type * Q -> Queue, thread defines renamed * Reformat, add missing NULL * Suggested changes and further casting cleanup * Reformat * padmgr name fixes
Diffstat (limited to 'src/code/graph.c')
-rw-r--r--src/code/graph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/graph.c b/src/code/graph.c
index c178fa9e8..ecb6eb506 100644
--- a/src/code/graph.c
+++ b/src/code/graph.c
@@ -227,7 +227,7 @@ void Graph_TaskSet00(GraphicsContext* gfxCtx) {
gfxCtx->fbIdx--;
}
- scTask->msgQ = &gfxCtx->queue;
+ scTask->msgQueue = &gfxCtx->queue;
scTask->msg = NULL;
cfb = &sGraphCfbInfos[sGraphCfbInfoIdx++];
@@ -245,9 +245,9 @@ void Graph_TaskSet00(GraphicsContext* gfxCtx) {
if (1) {}
- gfxCtx->schedMsgQ = &gSchedContext.cmdQ;
+ gfxCtx->schedMsgQueue = &gSchedContext.cmdQueue;
- osSendMesg(&gSchedContext.cmdQ, scTask, OS_MESG_BLOCK);
+ osSendMesg(&gSchedContext.cmdQueue, (OSMesg)scTask, OS_MESG_BLOCK);
Sched_SendEntryMsg(&gSchedContext);
}