diff options
author | Paul Selkirk <paul@psgd.org> | 2017-05-24 18:03:19 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-05-24 18:03:19 -0400 |
commit | 5ff8c9512db48d128cf07904f68eb5139bebf952 (patch) | |
tree | afe70a1971731b4785f1e9da593ca4e8dcb29213 /projects | |
parent | 15d74433c59ba4410cd9b5706916a27e4a43e027 (diff) |
Add task_yield_maybe
Diffstat (limited to 'projects')
-rw-r--r-- | projects/hsm/hsm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/hsm/hsm.c b/projects/hsm/hsm.c index 8a8f441..33342c0 100644 --- a/projects/hsm/hsm.c +++ b/projects/hsm/hsm.c @@ -380,6 +380,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 }; |