summaryrefslogtreecommitdiffstats
path: root/app/tacho.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/tacho.c')
-rw-r--r--app/tacho.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/tacho.c b/app/tacho.c
index 96a4d1b..2938c87 100644
--- a/app/tacho.c
+++ b/app/tacho.c
@@ -15,7 +15,7 @@ cycle_diff (uint32_t a, uint32_t b)
void
-exti3_isr (void)
+TACHO_ISR (void)
{
uint32_t now, diff;
static uint32_t last_edge;
@@ -46,7 +46,7 @@ exti3_isr (void)
- raw_tacho = (US ((60 * 1000000) / 2)) / diff;
+ raw_tacho = (US ((60U * 1000000) / 2)) / diff;
}