From 18c297c5f88681236aec2537f7e7f2d9b50fcd7e Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 25 Apr 2017 22:14:49 -0400 Subject: adapt to the new experimental tasking system --- hal_io_fmc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hal_io_fmc.c') diff --git a/hal_io_fmc.c b/hal_io_fmc.c index 7aa4b19..76d6883 100644 --- a/hal_io_fmc.c +++ b/hal_io_fmc.c @@ -159,6 +159,8 @@ hal_error_t hal_io_wait(const hal_core_t *core, uint8_t status, int *count) if (count && (*count > 0) && (i >= *count)) return HAL_ERROR_IO_TIMEOUT; + hal_task_yield(); + if ((err = hal_io_read(core, ADDR_STATUS, buf, sizeof(buf))) != HAL_OK) return err; -- cgit v1.2.3