Skip to content

Commit 6a82412

Browse files
committed
Fix esp8266 compilation failed
bump version
1 parent dd2e4ec commit 6a82412

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

esp3d/src/include/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define _VERSION_ESP3D_H
2323

2424
//version and sources location
25-
#define FW_VERSION "3.0.0.a206"
25+
#define FW_VERSION "3.0.0.a207"
2626
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
2727

2828
#endif //_VERSION_ESP3D_H

esp3d/src/modules/serial/serial_service.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ bool SerialService::begin(uint8_t serialIndex)
157157
Serials[_serialIndex]->setRxBufferSize (SERIAL_RX_BUFFER_SIZE);
158158
#ifdef ARDUINO_ARCH_ESP8266
159159
Serials[_serialIndex]->begin(br, ESP_SERIAL_PARAM, SERIAL_FULL, (_txPin == -1)?1:_txPin);
160-
if (_rx != -1) {
161-
Serials[_serialIndex]->pins((_txPin == -1)?1:_txPin, _rxPin)
160+
if (_rxPin != -1) {
161+
Serials[_serialIndex]->pins((_txPin == -1)?1:_txPin, _rxPin);
162162
}
163163

164164
#endif //ARDUINO_ARCH_ESP8266

0 commit comments

Comments
 (0)