|
@@ -174,7 +174,6 @@ static void TIM1_Init(void)
|
|
|
// initial pwm value
|
|
|
TIM1->CCR1 = SERVO_INIT_VAL;
|
|
|
TIM1->CCR2 = SERVO_INIT_VAL;
|
|
|
- TIM1->CCR4 = SERVO_INIT_VAL;
|
|
|
// pwm mode 1 for chanels
|
|
|
#ifdef USE_SERVO_1
|
|
|
TIM1->CCMR1 = (TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2 | TIM_CCMR1_OC2PE);
|