Skip to content

Commit

Permalink
v0.6.6 many minors fixed for new version of CanAirIO CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Feb 11, 2023
1 parent 853f21f commit de81c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sensors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit de81c21

Please sign in to comment.