mirror of
https://github.com/luc-github/ESP3D.git
synced 2025-10-24 11:50:52 -07:00
Fix Baudrate displayed as 0 instead of correct baudrate in [ESP420]
Bump version to 3.0.1
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
#define _VERSION_ESP3D_H
|
#define _VERSION_ESP3D_H
|
||||||
|
|
||||||
// version and sources location
|
// version and sources location
|
||||||
#define FW_VERSION "3.0.0"
|
#define FW_VERSION "3.0.1"
|
||||||
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
|
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
|
||||||
|
|
||||||
#endif //_VERSION_ESP3D_H
|
#endif //_VERSION_ESP3D_H
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ bool ESP3DSerialService::begin(uint8_t serialIndex) {
|
|||||||
if (_rxPin != -1) {
|
if (_rxPin != -1) {
|
||||||
Serials[_serialIndex]->pins((_txPin == -1) ? 1 : _txPin, _rxPin);
|
Serials[_serialIndex]->pins((_txPin == -1) ? 1 : _txPin, _rxPin);
|
||||||
}
|
}
|
||||||
|
_baudRate = br;
|
||||||
}
|
}
|
||||||
_started = true;
|
_started = true;
|
||||||
esp3d_log("Serial %d for %d is started", _serialIndex, _id);
|
esp3d_log("Serial %d for %d is started", _serialIndex, _id);
|
||||||
|
|||||||
Reference in New Issue
Block a user