diff options
Diffstat (limited to 'time.cpp')
-rw-r--r-- | time.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/time.cpp b/time.cpp new file mode 100644 index 0000000..a5d1f0b --- /dev/null +++ b/time.cpp @@ -0,0 +1,9 @@ +#include "time.h" +#include "interrupt.h" + +volatile uint32_t Time::systime; + +template<> +void interrupt<Interrupt::SysTick>() { + Time::systime++; +} |