Function flipperzero_sys::furi_delay_ms
source · [−]pub unsafe extern "C" fn furi_delay_ms(milliseconds: u32)Expand description
Delay in milliseconds
This method uses kernel ticks on the inside, which causes delay to be aliased to scheduler timer intervals.
Real wait time will be between X+ milliseconds.
Special value: 0, will cause task yield.
Also if used when kernel is not running will fall back to furi_delay_us.
@warning Cannot be used from ISR
@param[in] milliseconds milliseconds to wait