diff options
Diffstat (limited to 'wirish/time.h')
-rw-r--r-- | wirish/time.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/wirish/time.h b/wirish/time.h index c925f74..8d3d074 100644 --- a/wirish/time.h +++ b/wirish/time.h @@ -30,17 +30,16 @@ #ifndef _TIME_H #define _TIME_H -#ifdef __cplusplus -extern "C"{ -#endif - +#include "libmaple.h" #include "nvic.h" #include "systick.h" #include "boards.h" -#define US_PER_MS 1000 +#ifdef __cplusplus +extern "C"{ +#endif -extern volatile uint32 systick_timer_millis; +#define US_PER_MS 1000 /** * Returns time (in milliseconds) since the beginning of program |