1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Remove PARTIAL_REMAP_TIM3 defines for AT32 and STM32 (#14198)

remove PARTIAL_REMAP_TIM3 code
This commit is contained in:
ctzsnooze 2025-01-26 17:17:25 +01:00 committed by GitHub
parent 4db3cad503
commit 986a5f119a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

View file

@ -676,10 +676,6 @@ void timerInit(void)
{ {
memset(timerConfig, 0, sizeof(timerConfig)); memset(timerConfig, 0, sizeof(timerConfig));
#if defined(PARTIAL_REMAP_TIM3)
GPIO_PinRemapConfig(GPIO_PartialRemap_TIM3, ENABLE);
#endif
#ifdef USE_TIMER_MGMT #ifdef USE_TIMER_MGMT
/* enable the timer peripherals */ /* enable the timer peripherals */
for (unsigned i = 0; i < TIMER_CHANNEL_COUNT; i++) { for (unsigned i = 0; i < TIMER_CHANNEL_COUNT; i++) {

View file

@ -837,10 +837,6 @@ void timerInit(void)
{ {
memset(timerConfig, 0, sizeof(timerConfig)); memset(timerConfig, 0, sizeof(timerConfig));
#if defined(PARTIAL_REMAP_TIM3)
GPIO_PinRemapConfig(GPIO_PartialRemap_TIM3, ENABLE);
#endif
/* enable the timer peripherals */ /* enable the timer peripherals */
for (unsigned i = 0; i < TIMER_CHANNEL_COUNT; i++) { for (unsigned i = 0; i < TIMER_CHANNEL_COUNT; i++) {
RCC_ClockCmd(timerRCC(TIMER_HARDWARE[i].tim), ENABLE); RCC_ClockCmd(timerRCC(TIMER_HARDWARE[i].tim), ENABLE);