diff --git a/code/espurna/sensors/MHZ19Sensor.h b/code/espurna/sensors/MHZ19Sensor.h index 923620c8..4826069a 100644 --- a/code/espurna/sensors/MHZ19Sensor.h +++ b/code/espurna/sensors/MHZ19Sensor.h @@ -77,6 +77,7 @@ class MHZ19Sensor : public BaseSensor { if (_serial) delete _serial; _serial = new SoftwareSerial(_pin_rx, _pin_tx, false, 32); + _serial->enableIntTx(false); _serial->begin(9600); calibrateAuto(false); diff --git a/code/espurna/sensors/PMSX003Sensor.h b/code/espurna/sensors/PMSX003Sensor.h index c7203511..788a2b06 100644 --- a/code/espurna/sensors/PMSX003Sensor.h +++ b/code/espurna/sensors/PMSX003Sensor.h @@ -68,6 +68,7 @@ class PMSX003Sensor : public BaseSensor { if (_pms) delete _pms; _serial = new SoftwareSerial(_pin_rx, _pin_tx, false, 32); + _serial->enableIntTx(false); _serial->begin(9600); _pms = new PMS(* _serial); _pms->passiveMode(); diff --git a/code/espurna/sensors/V9261FSensor.h b/code/espurna/sensors/V9261FSensor.h index 85c9fce1..31b57b62 100644 --- a/code/espurna/sensors/V9261FSensor.h +++ b/code/espurna/sensors/V9261FSensor.h @@ -66,6 +66,7 @@ class V9261FSensor : public BaseSensor { if (_serial) delete _serial; _serial = new SoftwareSerial(_pin_rx, SW_SERIAL_UNUSED_PIN, _inverted, 32); + _serial->enableIntTx(false); _serial->begin(V9261F_BAUDRATE); } diff --git a/code/platformio.ini b/code/platformio.ini index dff76b69..89ba3ca7 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -16,7 +16,7 @@ lib_deps = Brzo I2C https://bitbucket.org/xoseperez/debounceevent.git#2.0.1 Embedis - https://github.com/krosk93/espsoftwareserial#a770677 + https://github.com/plerup/espsoftwareserial#7077979 https://github.com/me-no-dev/ESPAsyncTCP#a57560d https://github.com/me-no-dev/ESPAsyncWebServer#313f337 https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.2