fomu-factory-test/sw/include/time.h
Sean Cross e8aaac5cfe sw: first software commit
The software is untested, but it builds.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 15:02:00 +08:00

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 */