pub unsafe extern "C" fn task_delay_until(
prev_time: *const u32,
delta: u32,
)Expand description
Delays a task until a specified time. This function can be used by periodic tasks to ensure a constant execution frequency.
The task will be woken up at the time *prev_time + delta, and *prev_time will be updated to reflect the time at which the task will unblock.
\param prev_time A pointer to the location storing the setpoint time. This should typically be initialized to the return value of millis(). \param delta The number of milliseconds to wait (1000 milliseconds per second)