Commit 7872da54 authored by Käppler's avatar Käppler
Browse files

Remove superfluous recursive call

parent 100a9b31
...@@ -211,7 +211,6 @@ namespace sensor { ...@@ -211,7 +211,6 @@ namespace sensor {
Serial.print(config::measurement_timestep); Serial.print(config::measurement_timestep);
Serial.println(" s."); Serial.println(" s.");
scd30.setMeasurementInterval(config::measurement_timestep); // [s] scd30.setMeasurementInterval(config::measurement_timestep); // [s]
switchStateForCurrentPPM(); // Check all other conditions again
} }
// These 'else if' constructs are, strictly speaking, unnecessary, // These 'else if' constructs are, strictly speaking, unnecessary,
// because they are not reached if the previous condition was fulfilled. // because they are not reached if the previous condition was fulfilled.
......
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