fix macros in the hwtimer