From 0548136a4c886830414fb575d9d0daa7f1a7d170 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Wed, 8 May 2019 23:17:01 +0100 Subject: sysclk back to 168MHz, 10Mhz -> TIM2 --- app/msf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/msf.c') diff --git a/app/msf.c b/app/msf.c index 954e57f..9d8db3f 100644 --- a/app/msf.c +++ b/app/msf.c @@ -32,7 +32,7 @@ static EPOCH msf_time; void exti_t_isr (void) { - uint32_t now = SCS_DWT_CYCCNT; + uint32_t now = HW_CLOCK_REG; int v; v = !!gpio_get (T_PORT, T); -- cgit v1.2.3