fix bug in setSampleTime for high channels