diff options
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/systick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/systick.c b/libmaple/systick.c index 5025328..1eb2117 100644 --- a/libmaple/systick.c +++ b/libmaple/systick.c @@ -79,8 +79,8 @@ void systick_attach_callback(void (*callback)(void)) { */ void __exc_systick(void) { + systick_uptime_millis++; if (systick_user_callback) { systick_user_callback(); } - systick_uptime_millis++; } |