réplica de
https://github.com/Arnau478/quark.git
synced 2024-06-02 15:16:29 +02:00
9 líneas
174 B
C
9 líneas
174 B
C
|
#include <stdint.h>
|
||
|
#include "time.h"
|
||
|
#include "../hal/hal.h"
|
||
|
|
||
|
void sleep(int ms){
|
||
|
uint32_t ticks = ms + hal_get_tick_count();
|
||
|
while(ticks > hal_get_tick_count());
|
||
|
}
|