Misc cleanup (#1273)

* this2 -> thisx

* exchangeItemId enums

* Sleep_Cycles

* ENENCOUNT1_PATH_INDEX_NONE

* Fram enums
This commit is contained in:
Derek Hensley
2023-06-05 20:13:47 -07:00
committed by GitHub
parent 7f5087d0b2
commit 4cce444661
19 changed files with 147 additions and 143 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
void Sleep_Cycles(u64 time) {
OSMesgQueue mq;
OSMesg msg;
OSMesg msg[1];
OSTimer timer;
osCreateMesgQueue(&mq, &msg, OS_MESG_BLOCK);
osCreateMesgQueue(&mq, msg, ARRAY_COUNT(msg));
osSetTimer(&timer, time, 0, &mq, NULL);
osRecvMesg(&mq, NULL, OS_MESG_BLOCK);
}