Skip to content

Commit

Permalink
Add fix for Arduino Due serial init (bmellink#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
nh-99 committed Dec 28, 2022
1 parent 3dbffec commit ab45294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IBusBM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void IBusBM::begin(HardwareSerial &serial, int8_t timerid, int8_t rxPin, int8_t
#ifdef ARDUINO_ARCH_ESP32
serial.begin(115200, SERIAL_8N1, rxPin, txPin);
#else
serial.begin(115200, SERIAL_8N1);
serial.begin(115200);
#endif

this->stream = &serial;
Expand Down

0 comments on commit ab45294

Please sign in to comment.