Commit b52c675f authored by Eric Duminil's avatar Eric Duminil
Browse files

ESP8266 was expected to be broken

but not that broken
parent 4ff49e0c
Pipeline #6038 failed with stage
in 1 minute and 36 seconds
...@@ -18,11 +18,12 @@ namespace config { ...@@ -18,11 +18,12 @@ namespace config {
} }
#if defined(ESP8266) #if defined(ESP8266)
// ??? // ???
#endif #endif
#if defined(ESP32) #if defined(ESP32)
// For ESP32 : RX on GPIO17, TX on GPIO16 // For ESP32 : RX on GPIO17, TX on GPIO16
# define S8_UART_PORT 2 # define S8_UART_PORT 2
#endif
namespace sensor { namespace sensor {
HardwareSerial S8_serial(S8_UART_PORT); HardwareSerial S8_serial(S8_UART_PORT);
...@@ -70,7 +71,6 @@ namespace sensor { ...@@ -70,7 +71,6 @@ namespace sensor {
Serial.println(F("Sensor : Senseair S8")); Serial.println(F("Sensor : Senseair S8"));
S8_serial.begin(S8_BAUDRATE); S8_serial.begin(S8_BAUDRATE);
sensor_S8 = new S8_UART(S8_serial); sensor_S8 = new S8_UART(S8_serial);
#endif
Serial.println(); Serial.println();
// Check if S8 is available // Check if S8 is available
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment