From cff905096851398315b22dca341e89ab657f12d8 Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 18 Nov 2025 15:10:55 -0500 Subject: complete activity 13 --- project/Core/Src/System/systick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project/Core/Src/System/systick.c') 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() { -- cgit v1.2.3