mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-1683 - Remove dead code
This commit is contained in:
parent
7177e77d23
commit
f3fe45750d
@ -142,11 +142,7 @@ void PIOS_Servo_SetBankMode(uint8_t bank, uint8_t mode)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (mode != PIOS_SERVO_BANK_MODE_PWM) {
|
||||
// TIM_UpdateDisableConfig(pios_servo_bank_timer[bank], ENABLE);
|
||||
} else {
|
||||
// TIM_UpdateDisableConfig(pios_servo_bank_timer[bank], DISABLE);
|
||||
}
|
||||
|
||||
// Setup the timer accordingly
|
||||
TIM_SelectOnePulseMode(pios_servo_bank_timer[bank], TIM_OPMode_Repetitive);
|
||||
TIM_Cmd(pios_servo_bank_timer[bank], ENABLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user