From ab452942d769c1831aab2a8160d0fd8baa761f53 Mon Sep 17 00:00:00 2001 From: Noah Howard Date: Wed, 28 Dec 2022 16:18:08 -0500 Subject: [PATCH] Add fix for Arduino Due serial init (#17) --- src/IBusBM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IBusBM.cpp b/src/IBusBM.cpp index 624c11a..bd5f378 100644 --- a/src/IBusBM.cpp +++ b/src/IBusBM.cpp @@ -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;