diff options
| author | Jeff Epler <jepler@gmail.com> | 2019-08-11 08:39:50 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2019-08-11 08:53:02 -0500 |
| commit | 11dd3a260e53852ca3ccaf609040ca26bd56e665 (patch) | |
| tree | 6bf428b3ca6462608cc7a2d046cf7a064d5fdf5e /ports/nrf/sd_mutex.c | |
| parent | d9ee2d28a03cdb13b0c6e33a6408293574bcbfef (diff) | |
nrf: Use RUN_BACKGROUND_TASKS
Diffstat (limited to 'ports/nrf/sd_mutex.c')
| -rw-r--r-- | ports/nrf/sd_mutex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/nrf/sd_mutex.c b/ports/nrf/sd_mutex.c index 7682ffa62..b3162e6af 100644 --- a/ports/nrf/sd_mutex.c +++ b/ports/nrf/sd_mutex.c @@ -37,9 +37,7 @@ void sd_mutex_acquire_check(nrf_mutex_t* p_mutex) { void sd_mutex_acquire_wait(nrf_mutex_t* p_mutex) { while (sd_mutex_acquire(p_mutex) == NRF_ERROR_SOC_MUTEX_ALREADY_TAKEN) { -#ifdef MICROPY_VM_HOOK_LOOP - MICROPY_VM_HOOK_LOOP -#endif + RUN_BACKGROUND_TASKS; } } |
