diff --git a/drivers/src/nrfx_twi.c b/drivers/src/nrfx_twi.c index 419940074..6b9df394c 100644 --- a/drivers/src/nrfx_twi.c +++ b/drivers/src/nrfx_twi.c @@ -274,6 +274,7 @@ void nrfx_twi_disable(nrfx_twi_t const * p_instance) nrf_twi_disable(p_twi); p_cb->state = NRFX_DRV_STATE_INITIALIZED; + p_cb->busy = false; NRFX_LOG_INFO("Instance disabled: %d.", p_instance->drv_inst_idx); } diff --git a/drivers/src/nrfx_twim.c b/drivers/src/nrfx_twim.c index 64ee394f0..87e0572b2 100644 --- a/drivers/src/nrfx_twim.c +++ b/drivers/src/nrfx_twim.c @@ -343,6 +343,7 @@ void nrfx_twim_disable(nrfx_twim_t const * p_instance) nrf_twim_disable(p_twim); p_cb->state = NRFX_DRV_STATE_INITIALIZED; + p_cb->busy = false; NRFX_LOG_INFO("Instance disabled: %d.", p_instance->drv_inst_idx); }