* Sleep for an amount of ticks. * @param ticks The amount of ticks to sleep. */
| 375 | * @param ticks The amount of ticks to sleep. |
| 376 | */ |
| 377 | void Timer_Sleep(uint16 ticks) |
| 378 | { |
| 379 | uint32 tick = g_timerSleep + ticks; |
| 380 | while (tick >= g_timerSleep) sleepIdle(); |
| 381 | } |
no outgoing calls
no test coverage detected