mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Remove PARTIAL_REMAP_TIM3 defines for AT32 and STM32 (#14198)
remove PARTIAL_REMAP_TIM3 code
This commit is contained in:
parent
4db3cad503
commit
986a5f119a
2 changed files with 0 additions and 8 deletions
|
@ -676,10 +676,6 @@ void timerInit(void)
|
|||
{
|
||||
memset(timerConfig, 0, sizeof(timerConfig));
|
||||
|
||||
#if defined(PARTIAL_REMAP_TIM3)
|
||||
GPIO_PinRemapConfig(GPIO_PartialRemap_TIM3, ENABLE);
|
||||
#endif
|
||||
|
||||
#ifdef USE_TIMER_MGMT
|
||||
/* enable the timer peripherals */
|
||||
for (unsigned i = 0; i < TIMER_CHANNEL_COUNT; i++) {
|
||||
|
|
|
@ -837,10 +837,6 @@ void timerInit(void)
|
|||
{
|
||||
memset(timerConfig, 0, sizeof(timerConfig));
|
||||
|
||||
#if defined(PARTIAL_REMAP_TIM3)
|
||||
GPIO_PinRemapConfig(GPIO_PartialRemap_TIM3, ENABLE);
|
||||
#endif
|
||||
|
||||
/* enable the timer peripherals */
|
||||
for (unsigned i = 0; i < TIMER_CHANNEL_COUNT; i++) {
|
||||
RCC_ClockCmd(timerRCC(TIMER_HARDWARE[i].tim), ENABLE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue