more downloader
parent
bb0aec649a
commit
1437f1a6cc
@ -0,0 +1,20 @@
|
||||
#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
|
Loading…
Reference in New Issue