Skip to content

Commit

Permalink
Update board.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
saloid authored Sep 22, 2019
1 parent 2ab223e commit f35abf3
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions STM32F1/variants/STM32VLD/board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,6 @@ extern const uint8 boardUsedPins[BOARD_NR_USED_PINS] __FLASH__ = {
* Maps to which hardware serial port on the microprocessor
*/

#ifdef SERIAL_USB
DEFINE_HWSERIAL(Serial1, 1);

DEFINE_HWSERIAL(Serial2, 2);

DEFINE_HWSERIAL(Serial3, 3);

#else
DEFINE_HWSERIAL(Serial, 1);

DEFINE_HWSERIAL(Serial1, 2);

DEFINE_HWSERIAL(Serial2, 3);


#endif
DEFINE_HWSERIAL(Serial1, 1);
DEFINE_HWSERIAL(Serial2, 2);
DEFINE_HWSERIAL(Serial3, 3);

0 comments on commit f35abf3

Please sign in to comment.