diff --git a/src/platform/AT32/timer_at32bsp.c b/src/platform/AT32/timer_at32bsp.c index b0a584b83e..46efb390ce 100644 --- a/src/platform/AT32/timer_at32bsp.c +++ b/src/platform/AT32/timer_at32bsp.c @@ -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++) { diff --git a/src/platform/STM32/timer_stdperiph.c b/src/platform/STM32/timer_stdperiph.c index b225072caa..33f1a27acd 100644 --- a/src/platform/STM32/timer_stdperiph.c +++ b/src/platform/STM32/timer_stdperiph.c @@ -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);