aboutsummaryrefslogtreecommitdiff
path: root/src/timer.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-02 21:31:19 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-02 21:31:19 +0100
commita88810c8a70c8e3a7533a266774ab61a84a9adf4 (patch)
tree9ec78cd5e20f06a6cbcbd0251e215f2ecaae71c4 /src/timer.h
parent6e03fe85b19bc533888a4689572aab0ccf68edc4 (diff)
downloadgold-mine-run-a88810c8a70c8e3a7533a266774ab61a84a9adf4.tar.gz
gold-mine-run-a88810c8a70c8e3a7533a266774ab61a84a9adf4.zip
Add sound support
Diffstat (limited to 'src/timer.h')
-rw-r--r--src/timer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h
index 8207e5b..8f636df 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -7,6 +7,8 @@ extern volatile uint32_t ticks;
void timer_init();
void timer_free();
+void timer_user_fn(void (*fn)(void));
+
/* countdown clock */
void timer_start(uint8_t secs, volatile uint8_t *updated);
uint8_t timer_value();