Vladimir N. Shilov 3 月之前
父節點
當前提交
3837db56fc
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/board.c

+ 0 - 1
src/board.c

@@ -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);