aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-05-24 18:03:19 -0400
committerPaul Selkirk <paul@psgd.org>2017-09-07 18:11:01 -0400
commit2e1f88062c7ec6cd12688ce7522e802bbf09bba1 (patch)
treed8bbfeb060f5116d7cb9818f96de7204826a0302 /projects/hsm
parent2913492229286b0578f64ce8c97ef21a9af09464 (diff)
Add task_yield_maybe
Diffstat (limited to 'projects/hsm')
-rw-r--r--projects/hsm/hsm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/hsm/hsm.c b/projects/hsm/hsm.c
index 800edcc..b6b8820 100644
--- a/projects/hsm/hsm.c
+++ b/projects/hsm/hsm.c
@@ -393,6 +393,11 @@ void hal_task_yield(void)
task_yield();
}
+void hal_task_yield_maybe(void)
+{
+ task_yield_maybe();
+}
+
/* A mutex to arbitrate concurrent access to the keystore.
*/
task_mutex_t ks_mutex = { 0 };