Skip to content

Commit 339f806

Browse files
Ashok RaoAshok Rao
authored andcommitted
Removing redundant code.
MCO pins are not brought out on MTB / MCB design.
1 parent e4f8b40 commit 339f806

File tree

1 file changed

+0
-4
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MTB_STM32_F439

1 file changed

+0
-4
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MTB_STM32_F439/system_clock.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
178178
return 0; // FAIL
179179
}
180180

181-
// HAL_RCC_MCOConfig(RCC_MCO2, RCC_MCO2SOURCE_SYSCLK, RCC_MCODIV_3);
182-
183181
return 1;
184182
}
185183
#endif /* ((CLOCK_SOURCE) & USE_PLL_HSE_XTAL) || ((CLOCK_SOURCE) & USE_PLL_HSE_EXTC) */
@@ -233,8 +231,6 @@ uint8_t SetSysClock_PLL_HSI(void)
233231
return 0; // FAIL
234232
}
235233

236-
// HAL_RCC_MCOConfig(RCC_MCO2, RCC_MCO2SOURCE_SYSCLK, RCC_MCODIV_3);
237-
238234
return 1;
239235
}
240236
#endif /* ((CLOCK_SOURCE) & USE_PLL_HSI) */

0 commit comments

Comments
 (0)