diff --git a/ampel-firmware/co2_sensor.cpp b/ampel-firmware/co2_sensor.cpp index c2f27e2976654537dca55c1e066aeb3c5d6b7e17..7368fc4155c6e098c355d2e9c4e83aa49fde54f4 100644 --- a/ampel-firmware/co2_sensor.cpp +++ b/ampel-firmware/co2_sensor.cpp @@ -21,7 +21,7 @@ namespace config { # include "src/lib/Esp8266EdgeSoftwareSerial/MySoftwareSerial.h" # define S8_RX_PIN 13 // GPIO13, a.k.a. D7, connected to S8 Tx pin. # define S8_TX_PIN 15 // GPIO15, a.k.a. D8, connected to S8 Rx pin. -MySoftwareSerial S8_serial(S8_RX_PIN, S8_TX_PIN); +MySoftwareSerial S8_serial(S8_RX_PIN, S8_TX_PIN, false, 16); // 16 bytes buffer should be enough. #endif #if defined(ESP32) // GPIO16 connected to S8 Tx pin.