summaryrefslogtreecommitdiff
path: root/src/code/code_8010C1B0.c
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2024-01-05 09:58:59 -0600
committerlouist103 <35883445+louist103@users.noreply.github.com>2024-01-05 18:00:59 -0500
commit9be74e0026b563ba680e1dc157521eccc89fc03f (patch)
treead27464c5b19b239991ed369454413ea3a30c802 /src/code/code_8010C1B0.c
parent7c7021f3a211a3384d25b5a4175040750d50c248 (diff)
Move source into subdirectory
Diffstat (limited to 'src/code/code_8010C1B0.c')
-rw-r--r--src/code/code_8010C1B0.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/code/code_8010C1B0.c b/src/code/code_8010C1B0.c
deleted file mode 100644
index 2c1fd410f..000000000
--- a/src/code/code_8010C1B0.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "global.h"
-
-// Blocks the current thread until all currently queued scheduler tasks have been completed
-void MsgEvent_SendNullTask(void) {
- OSScTask task;
- OSMesgQueue queue;
- OSMesg msg;
-
- task.next = NULL;
- task.flags = OS_SC_RCP_MASK;
- task.msgQ = &queue;
- task.msg = NULL;
- task.framebuffer = NULL;
- task.list.t.type = M_NULTASK;
-
- osCreateMesgQueue(task.msgQ, &msg, 1);
- osSendMesg(&gSchedContext.cmdQ, &task, OS_MESG_BLOCK);
- Sched_SendEntryMsg(&gSchedContext);
- osRecvMesg(&queue, NULL, OS_MESG_BLOCK);
-}