From 171dc5af7026639af204e87ce136b09c25a5ff26 Mon Sep 17 00:00:00 2001 From: Eric Duminil <eric.duminil@gmail.com> Date: Thu, 24 Mar 2022 21:30:03 +0100 Subject: [PATCH] Smaller buffer --- ampel-firmware/co2_sensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ampel-firmware/co2_sensor.cpp b/ampel-firmware/co2_sensor.cpp index c2f27e2..7368fc4 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. -- GitLab