Skip to content

Commit

Permalink
Biqu BX Workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed May 18, 2022
1 parent 39f37d6 commit e08a9b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/SoftwareSerial/src/SoftwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ bool SoftwareSerial::stopListening()

inline void SoftwareSerial::setTX()
{
if (_inverse_logic) {
LL_GPIO_ResetOutputPin(_transmitPinPort, _transmitPinNumber);
} else {
LL_GPIO_SetOutputPin(_transmitPinPort, _transmitPinNumber);
}
//if (_inverse_logic) {
// LL_GPIO_ResetOutputPin(_transmitPinPort, _transmitPinNumber);
//} else {
// LL_GPIO_SetOutputPin(_transmitPinPort, _transmitPinNumber);
//}
pinMode(_transmitPin, OUTPUT);
}

Expand Down

0 comments on commit e08a9b7

Please sign in to comment.