/* This function will calculate the tick from millisecond. */
rt_tick_t rt_tick_from_millisecond(rt_uint32_t ms)
/* This function will calculate the tick from millisecond. */
rt_tick_t rt_tick_from_millisecond(rt_uint32_t ms)
{
    return (RT_TICK_PER_SECOND * ms + 999) / 1000;
}