pub unsafe extern "C" fn task_get_current_task() -> *mut crate::binary::c_types::c_void {
    let res = crate::preempt::current_task() as *mut crate::binary::c_types::c_void;
    trace!("task get current task - return {:?}", res);

    res
}
**************************************************************************
Name: esp_task_get_current_task

Description:
Transform from millim seconds to system ticks

Input Parameters:
ms - Millim seconds

Returned Value:
System ticks

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