diff options
Diffstat (limited to 'app/msf.c')
-rw-r--r-- | app/msf.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -171,7 +171,7 @@ void msf_dispatch (void) if (v) { pulse_w = now - last_0; - pulse_w /= (HZ / 1000); + pulse_w /= (HW_CLOCK_HZ / 1000); if (pulse_w > 300) { last_s = now; @@ -183,7 +183,7 @@ void msf_dispatch (void) } else { pulse_w = now - last_1; - pulse_w /= (HZ / 1000); + pulse_w /= (HW_CLOCK_HZ / 1000); if (pulse_w > 400) { had_m = 1; @@ -194,7 +194,7 @@ void msf_dispatch (void) } offset = now - last_s; - offset /= (HZ / 1000); + offset /= (HW_CLOCK_HZ / 1000); if (is_s) { |