summaryrefslogtreecommitdiff
path: root/tests/clockHMS.mj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/clockHMS.mj')
-rw-r--r--tests/clockHMS.mj4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clockHMS.mj b/tests/clockHMS.mj
index 4575c58..ea10d4f 100644
--- a/tests/clockHMS.mj
+++ b/tests/clockHMS.mj
@@ -62,8 +62,8 @@ count_mod<n, m>(in:[n], op) = (out:[n], reset) where
out = and_each<n>(neq, incr);
end where
-main() = (count_sec:[6],count_min:[6],count_hour:[5],next_day) where
- (count_sec, aug_min) = count_mod<6, 60>(save_sec, 1);
+main(tick) = (count_sec:[6],count_min:[6],count_hour:[5],next_day) where
+ (count_sec, aug_min) = count_mod<6, 60>(save_sec, tick);
save_sec = reg_n<6>(count_sec);
(count_min, aug_hour) = count_mod<6, 60>(save_min, aug_min);