mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
change OSMesg definition and fix memory corruptions
This commit is contained in:
parent
72fcd19a9e
commit
b5d5930fed
20 changed files with 143 additions and 127 deletions
|
@ -6,7 +6,7 @@ void Sleep_Cycles(OSTime cycles) {
|
|||
OSTimer timer;
|
||||
|
||||
osCreateMesgQueue(&mq, &msg, OS_MESG_BLOCK);
|
||||
osSetTimer(&timer, cycles, 0, &mq, NULL);
|
||||
osSetTimer(&timer, cycles, 0, &mq, OS_MESG_PTR(NULL));
|
||||
osRecvMesg(&mq, NULL, OS_MESG_BLOCK);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue