Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion src/IBusBM.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class IBusBM {
} sensorinfo;
sensorinfo sensors[SENSORMAX];
uint8_t NumberSensors = 0; // number of sensors
IBusBM* IBusBMnext = NULL; // pointer to the next class instance to be used to call the loop() method from timer interrupt
IBusBM* IBusBMnext = nullptr; // pointer to the next class instance to be used to call the loop() method from timer interrupt
};

#endif