STM32F4 astyle

pull/14699/head
jeromecoutant 2021-05-25 14:31:41 +02:00
parent f4d8c8a746
commit 798057d07b
4 changed files with 5 additions and 7 deletions

View File

@ -106,8 +106,7 @@ MBED_WEAK uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
HAL_RCC_GetOscConfig(&RCC_OscInitStruct); HAL_RCC_GetOscConfig(&RCC_OscInitStruct);
/* PLL could be already configured by bootlader */ /* PLL could be already configured by bootlader */
if (RCC_OscInitStruct.PLL.PLLState != RCC_PLL_ON) if (RCC_OscInitStruct.PLL.PLLState != RCC_PLL_ON) {
{
/* Enable HSE oscillator and activate PLL with HSE as source */ /* Enable HSE oscillator and activate PLL with HSE as source */
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
if (bypass == 0) { if (bypass == 0) {

View File

@ -15,7 +15,8 @@
#include "stm32f4xx.h" #include "stm32f4xx.h"
void TargetBSP_Init(void) { void TargetBSP_Init(void)
{
/* In DISCO_F413ZH board, Arduino connector and Wifi embeded module are sharing the same SPI pins */ /* In DISCO_F413ZH board, Arduino connector and Wifi embeded module are sharing the same SPI pins */
/* We need to set the default SPI SS pin for the Wifi module to the inactive state i.e. 1 */ /* We need to set the default SPI SS pin for the Wifi module to the inactive state i.e. 1 */
/* See board User Manual: WIFI_SPI_CS = PG_11*/ /* See board User Manual: WIFI_SPI_CS = PG_11*/

View File

@ -394,4 +394,3 @@ typedef enum {
#endif #endif
#endif #endif

View File

@ -387,4 +387,3 @@ typedef enum {
#endif #endif
#endif #endif