remove "done" folders, label "bs/droneenter, bs/dronelook, and bs/dronevanish files and functions"

This commit is contained in:
Banjo Kazooie
2023-01-21 20:13:03 -06:00
parent 0ecaa54b4a
commit c004632915
190 changed files with 645 additions and 644 deletions

19
src/core1/os/settimer.c Normal file
View File

@@ -0,0 +1,19 @@
#include <os_internal.h>
#include "osint.h"
int osSetTimer(OSTimer *t, OSTime value, OSTime interval, OSMesgQueue *mq, OSMesg msg)
{
OSTime time;
t->next = NULL;
t->prev = NULL;
t->interval = interval;
if(value != 0) t->value = value;
else t->value = interval;
t->mq = mq;
t->msg = msg;
time = __osInsertTimer(t);
if(__osTimerList->next == t) {
__osSetTimerIntr(time);
}
return 0;
}