diff --git a/code/espurna/sensors/MHZ19Sensor.h b/code/espurna/sensors/MHZ19Sensor.h index 0faffbfa..1c88923a 100644 --- a/code/espurna/sensors/MHZ19Sensor.h +++ b/code/espurna/sensors/MHZ19Sensor.h @@ -76,7 +76,7 @@ class MHZ19Sensor : public BaseSensor { if (_serial) delete _serial; - _serial = new SoftwareSerial(_pin_rx, _pin_tx, false, 32); + _serial = new SoftwareSerial(_pin_rx, _pin_tx, false); _serial->enableIntTx(false); _serial->begin(9600); calibrateAuto(_calibrateAuto); diff --git a/code/espurna/sensors/PMSX003Sensor.h b/code/espurna/sensors/PMSX003Sensor.h index 2161feb8..0eb1062c 100644 --- a/code/espurna/sensors/PMSX003Sensor.h +++ b/code/espurna/sensors/PMSX003Sensor.h @@ -217,7 +217,7 @@ class PMSX003Sensor : public BaseSensor, PMSX003 { if (_soft) { if (_serial) removeSerial(); - _serial = new SoftwareSerial(_pin_rx, _pin_tx, false, 64); + _serial = new SoftwareSerial(_pin_rx, _pin_tx, false); static_cast(_serial)->enableIntTx(false); } diff --git a/code/espurna/sensors/SenseAirSensor.h b/code/espurna/sensors/SenseAirSensor.h index a46c76bf..841cfd00 100644 --- a/code/espurna/sensors/SenseAirSensor.h +++ b/code/espurna/sensors/SenseAirSensor.h @@ -162,7 +162,7 @@ class SenseAirSensor : public BaseSensor, SenseAir { if (_serial) delete _serial; - _serial = new SoftwareSerial(_pin_rx, _pin_tx, false, 64); + _serial = new SoftwareSerial(_pin_rx, _pin_tx, false); _serial->enableIntTx(false); _serial->begin(9600); _serial->enableRx(true);