Fix timer prescaler configuration