Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Käppler
ampel-firmware
Commits
7872da54
Commit
7872da54
authored
Apr 29, 2021
by
Käppler
Browse files
Remove superfluous recursive call
parent
100a9b31
Changes
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/co2_sensor.cpp
View file @
7872da54
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment