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

co2_sensor: == false is redundant

parent 4d2f0f0c
......@@ -71,7 +71,7 @@ namespace sensor {
#endif
// CO2
if (scd30.begin(config::auto_calibrate_sensor) == false) {
if (!scd30.begin(config::auto_calibrate_sensor)) {
Serial.println(F("ERROR - CO2 sensor not detected. Please check wiring!"));
led_effects::showKITTWheel(color::red, 30);
ESP.restart();
......
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