Skip to content

Commit 798057d

Browse files
committed
STM32F4 astyle
1 parent f4d8c8a commit 798057d

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/system_clock.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ MBED_WEAK uint8_t SetSysClock_PLL_HSE(uint8_t bypass)
106106
HAL_RCC_GetOscConfig(&RCC_OscInitStruct);
107107

108108
/* PLL could be already configured by bootlader */
109-
if (RCC_OscInitStruct.PLL.PLLState != RCC_PLL_ON)
110-
{
109+
if (RCC_OscInitStruct.PLL.PLLState != RCC_PLL_ON) {
111110
/* Enable HSE oscillator and activate PLL with HSE as source */
112111
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
113112
if (bypass == 0) {

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/TARGET_DISCO_F413ZH/TargetInit.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
#include "stm32f4xx.h"
1717

18-
void TargetBSP_Init(void) {
18+
void TargetBSP_Init(void)
19+
{
1920
/* In DISCO_F413ZH board, Arduino connector and Wifi embeded module are sharing the same SPI pins */
2021
/* We need to set the default SPI SS pin for the Wifi module to the inactive state i.e. 1 */
2122
/* See board User Manual: WIFI_SPI_CS = PG_11*/

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/TARGET_NUCLEO_F429ZI/PinNames.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ typedef enum {
290290
D69 = PF_1,
291291
D70 = PF_2,
292292
D71 = PA_7,
293-
293+
294294
// STDIO for console print
295295
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
296296
CONSOLE_TX = MBED_CONF_TARGET_STDIO_UART_TX,
@@ -394,4 +394,3 @@ typedef enum {
394394
#endif
395395

396396
#endif
397-

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_NUCLEO_F439ZI/PinNames.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ typedef enum {
287287
D69 = PF_1,
288288
D70 = PF_2,
289289
D71 = PA_7,
290-
290+
291291
// STDIO for console print
292292
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
293293
CONSOLE_TX = MBED_CONF_TARGET_STDIO_UART_TX,
@@ -387,4 +387,3 @@ typedef enum {
387387
#endif
388388

389389
#endif
390-

0 commit comments

Comments
 (0)