aboutsummaryrefslogtreecommitdiff
path: root/hal_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'hal_internal.h')
-rw-r--r--hal_internal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/hal_internal.h b/hal_internal.h
index 56d0936..36f24d4 100644
--- a/hal_internal.h
+++ b/hal_internal.h
@@ -99,9 +99,14 @@ extern void hal_ks_lock(void);
extern void hal_ks_unlock(void);
/*
- * Logging.
+ * Thread sleep. Currently used only for bad-PIN delays.
*/
+extern void hal_sleep(const unsigned seconds);
+
+/*
+ * Logging.
+ */
typedef enum {
HAL_LOG_DEBUG, HAL_LOG_INFO, HAL_LOG_WARN, HAL_LOG_ERROR, HAL_LOG_SILENT