cleanup clock and fix(?) TIM3/TIM4 typo
clock: disable before changing period
clock minor cleanup