/* Delay number of tick Systicks (happens every 1 ms).  */
static __INLINE void delay_ms(uint32_t ul_dly_ticks)
/* Delay number of tick Systicks (happens every 1 ms).  */
static __INLINE void delay_ms(uint32_t ul_dly_ticks)
{
	uint32_t ul_cur_ticks;
	ul_cur_ticks = g_ul_ms_ticks;
	while ((g_ul_ms_ticks - ul_cur_ticks) < ul_dly_ticks);
}