You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
292 B
C

#ifndef EXTENSIONS_H
#define EXTENSIONS_H
extern void wait();
extern void stop();
void sleep_ticks(int n){
unsigned int i;
for(i = 0; i < n; ++i){
wait();
}
}
void sleep_seconds(int n){
unsigned int i;
for(i = 0; i < n * 20; ++i){
wait();
}
}
#endif