Espresso 0.0.1a
This commit is contained in:
13
lib/stdlib.c
Normal file
13
lib/stdlib.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <drivers/pit.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
extern bool pit_initialized;
|
||||
|
||||
void sleep(uint64_t millis)
|
||||
{
|
||||
if (pit_initialized)
|
||||
{
|
||||
pit_sleep(millis);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user