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);
/* 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 */
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
if (bypass == 0) {

View File

@ -15,7 +15,8 @@
#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 */
/* 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*/

View File

@ -290,7 +290,7 @@ typedef enum {
D69 = PF_1,
D70 = PF_2,
D71 = PA_7,
// STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
CONSOLE_TX = MBED_CONF_TARGET_STDIO_UART_TX,
@ -394,4 +394,3 @@ typedef enum {
#endif
#endif

View File

@ -287,7 +287,7 @@ typedef enum {
D69 = PF_1,
D70 = PF_2,
D71 = PA_7,
// STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
CONSOLE_TX = MBED_CONF_TARGET_STDIO_UART_TX,
@ -387,4 +387,3 @@ typedef enum {
#endif
#endif