summaryrefslogtreecommitdiff
path: root/src/common/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/button.h')
-rw-r--r--src/common/button.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/button.h b/src/common/button.h
index f7c1238..d3717f1 100644
--- a/src/common/button.h
+++ b/src/common/button.h
@@ -32,8 +32,9 @@
void
button_init (void);
-/** Wait until the button is pressed and released. */
-void
+/** Wait until the button is pressed and released, return press duration in
+ * milliseconds. */
+uint16_t
button_wait (void);
/** Return true if button is currently pressed. */