Only set period on pwm pin if board gen == 1