aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/systick.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/systick.c')
-rw-r--r--libmaple/systick.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/systick.c b/libmaple/systick.c
index f6f1c16..961d42b 100644
--- a/libmaple/systick.c
+++ b/libmaple/systick.c
@@ -59,13 +59,13 @@ void systick_disable() {
}
void systick_resume() {
- /* re-enable init registers without changing relead_val */
+ /* re-enable init registers without changing reload val */
__write(SYSTICK_CSR, SYSTICK_SRC_HCLK |
SYSTICK_ENABLE |
SYSTICK_TICKINT);
}
/** SysTick interrupt handler. Bumps up the tick counter. */
-void SysTick_Handler(void) {
+void SysTickHandler(void) {
systick_timer_millis++;
}