hwtimer_wait issue fixed