Skip to content

Commit

Permalink
Make STM32F401/441 HWSerial1 available for GPS if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
hjd1964 committed Sep 19, 2021
1 parent 4dac5ce commit fde550c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/HAL/STM32F4/STM32F401.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ HardwareSerial HWSerial2(PA3, PA2); // RX2, TX2
#define SerialB HWSerial2
#define HAL_SERIAL_B_ENABLED

HardwareSerial HWSerial1(PA10, PA9); // RX1, TX1
#if SERIAL_C_BAUD_DEFAULT != OFF
HardwareSerial HWSerial1(PA10, PA9); // RX1, TX1
#define SerialC HWSerial1
#define HAL_SERIAL_C_ENABLED
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/HAL/STM32F4/STM32F411.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ HardwareSerial HWSerial2(PA3, PA2); // RX2, TX2
#define SerialB HWSerial2
#define HAL_SERIAL_B_ENABLED

HardwareSerial HWSerial1(PA10, PA9); // RX1, TX1
#if SERIAL_C_BAUD_DEFAULT != OFF
HardwareSerial HWSerial1(PA10, PA9); // RX1, TX1
#define SerialC HWSerial1
#define HAL_SERIAL_C_ENABLED
#endif
Expand Down

0 comments on commit fde550c

Please sign in to comment.