Fix Baudrate displayed as 0 instead of correct baudrate in [ESP420]

Bump version to 3.0.1
This commit is contained in:
Luc
2025-10-19 11:31:53 +08:00
parent 4fe0c31bf2
commit b64161f0f8
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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);