11 lines
184 B
C
11 lines
184 B
C
#pragma once
|
|
|
|
inline void sleep(int ms) {
|
|
for (int i = 0; i < ms; i++) {
|
|
// sleep for 1 ms
|
|
for (int j = 0; j < 22000; j++) {
|
|
asm("");
|
|
}
|
|
}
|
|
}
|