summaryrefslogtreecommitdiff
path: root/project/Core/Src/System/systick.c
diff options
context:
space:
mode:
Diffstat (limited to 'project/Core/Src/System/systick.c')
-rw-r--r--project/Core/Src/System/systick.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/Core/Src/System/systick.c b/project/Core/Src/System/systick.c
index f9e2470..5d4d259 100644
--- a/project/Core/Src/System/systick.c
+++ b/project/Core/Src/System/systick.c
@@ -20,7 +20,7 @@ void init_systick()
s->CSR &= ~1;
s->CSR |= 1<<2;
s->CSR |= 1<<1; // enable interrupt
- s->RVR = 78124; // 100 ms
+ s->RVR = 79;
s->CSR |= 1;
}
@@ -60,7 +60,7 @@ int check_systick() {
static uint32_t count = 0;
void SysTick_Handler() {
- player_action_tick(count++);
+ count++;
}
uint32_t systick_get_count() {