foboot/sw/include/time.h
Sean Cross 26a327486f sw: minor shrink of sw code size
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-22 12:03:01 +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 */