pub unsafe extern "C" fn task_delay(tick: u32) {
    trace!("task_delay tick {}", tick);
    let start_time = crate::time::systimer_count();
    while crate::time::elapsed_time_since(start_time) < tick as u64 {
        yield_task();
    }
}
**************************************************************************
Name: esp_task_delay

Description:
Current task wait for some ticks

Input Parameters:
tick - Waiting ticks

Returned Value:
None

*************************************************************************
esp-wifi/src/wifi/os_adapter.rs