From de81c2161c9577ea9fea2959caf6945ee47710b2 Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Sun, 12 Feb 2023 00:05:27 +0100 Subject: [PATCH] v0.6.6 many minors fixed for new version of CanAirIO CLI --- src/Sensors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sensors.cpp b/src/Sensors.cpp index f936c854..f9db4bbb 100644 --- a/src/Sensors.cpp +++ b/src/Sensors.cpp @@ -136,7 +136,7 @@ void Sensors::init(u_int pms_type, int pms_rx, int pms_tx) { /// set loop time interval for each sensor sample void Sensors::setSampleTime(int seconds) { sample_time = seconds; - Serial.println("-->[SLIB] new sample time\t: " + String(seconds)); + if(devmode) Serial.println("-->[SLIB] new sample time\t: " + String(seconds)); if(isSensorRegistered(SENSORS::SSCD30)) { scd30.setMeasurementInterval(seconds); if (devmode) Serial.println("-->[SLIB] SCD30 interval time\t: " + String(seconds));