mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 14:20:41 +08:00
Fix esp8266 compilation failed
bump version
This commit is contained in:
parent
dd2e4ec1d8
commit
6a82412878
@ -22,7 +22,7 @@
|
||||
#define _VERSION_ESP3D_H
|
||||
|
||||
//version and sources location
|
||||
#define FW_VERSION "3.0.0.a206"
|
||||
#define FW_VERSION "3.0.0.a207"
|
||||
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
|
||||
|
||||
#endif //_VERSION_ESP3D_H
|
||||
|
@ -157,8 +157,8 @@ bool SerialService::begin(uint8_t serialIndex)
|
||||
Serials[_serialIndex]->setRxBufferSize (SERIAL_RX_BUFFER_SIZE);
|
||||
#ifdef ARDUINO_ARCH_ESP8266
|
||||
Serials[_serialIndex]->begin(br, ESP_SERIAL_PARAM, SERIAL_FULL, (_txPin == -1)?1:_txPin);
|
||||
if (_rx != -1) {
|
||||
Serials[_serialIndex]->pins((_txPin == -1)?1:_txPin, _rxPin)
|
||||
if (_rxPin != -1) {
|
||||
Serials[_serialIndex]->pins((_txPin == -1)?1:_txPin, _rxPin);
|
||||
}
|
||||
|
||||
#endif //ARDUINO_ARCH_ESP8266
|
||||
|
Loading…
x
Reference in New Issue
Block a user