summaryrefslogtreecommitdiffstats
path: root/app/msf.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/msf.c')
-rw-r--r--app/msf.c2
1 files changed, 1 insertions, 1 deletions
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);