wip: generate a buildable image

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2019-01-23 15:25:07 +13:00
parent 9a14f6d08d
commit 167201228f
4 changed files with 175 additions and 13 deletions

15
include/time.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef __TIME_H
#define __TIME_H
#ifdef __cplusplus
extern "C" {
#endif
void time_init(void);
int elapsed(int *last_event, int period);
#ifdef __cplusplus
}
#endif
#endif /* __TIME_H */