Sean Cross
e8aaac5cfe
The software is untested, but it builds. Signed-off-by: Sean Cross <sean@xobs.io>
17 lines
212 B
C
17 lines
212 B
C
#ifndef __TIME_H
|
|
#define __TIME_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void time_init(void);
|
|
int elapsed(int *last_event, int period);
|
|
void msleep(int ms);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __TIME_H */
|