MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / waitmicro

Function waitmicro

src/dolphin/src/eth/eth.c:109–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static void waitmicro(s32 usec) {
110 OSTick start;
111 OSTick interval;
112
113 start = OSGetTick();
114 interval = OSMicrosecondsToTicks(usec);
115
116 while (TRUE) {
117 if (OSGetTick() - start >= interval) {
118 break;
119 }
120 }
121}
122
123static u8 readEXIcmd(u8 cmd) {
124 u16 ethcmd;

Callers 2

readEXIcmdWait200MicroFunction · 0.85
resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected