What happens if I call an app_timer_stop on a timer which had already been stopped. Would that have strange effects? Or would that just be ok?
What happens if I call an app_timer_stop on a timer which had already been stopped. Would that have strange effects? Or would that just be ok?
Hi Wim,
If you call app_timer_stop for a timer already stopped, you will have either NRF_ERROR_INVALID_STATE or NRF_ERROR_INVALID_PARAM return back. Depends if it's the last timer instance left or not. No, you don't have any side effect, just an error code back.
Hi Wim,
If you call app_timer_stop for a timer already stopped, you will have either NRF_ERROR_INVALID_STATE or NRF_ERROR_INVALID_PARAM return back. Depends if it's the last timer instance left or not. No, you don't have any side effect, just an error code back.