Skip to content

Commit a7250c0

Browse files
KooLruvirtual-maker
authored andcommitted
Reformat the code
1 parent 9708225 commit a7250c0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

hal/architecture/STM32/MyHwSTM32.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131
#define CRYPTO_LITTLE_ENDIAN
3232

3333
#ifndef MY_SERIALDEVICE
34-
#if SERIAL_UART_INSTANCE == 2 //On Nucleo board UART 2 connect to ST-LINK
34+
// On Nucleo board UART 2 connect to ST-LINK
35+
#if SERIAL_UART_INSTANCE == 2
3536
#define MY_SERIALDEVICE Serial2
36-
#else
37-
#define MY_SERIALDEVICE Serial
37+
#else
38+
#define MY_SERIALDEVICE Serial
3839
#endif
3940
#endif
4041

0 commit comments

Comments
 (0)