Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Käppler
ampel-firmware
Commits
8fd43ec4
Commit
8fd43ec4
authored
4 years ago
by
Käppler
Browse files
Options
Download
Email Patches
Plain Diff
Remove sensor reset after startup
parent
6412c4ea
dev/debugcalib
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ampel-firmware/co2_sensor.cpp
+0
-6
ampel-firmware/co2_sensor.cpp
with
0 additions
and
6 deletions
+0
-6
ampel-firmware/co2_sensor.cpp
+
0
-
6
View file @
8fd43ec4
...
@@ -78,12 +78,6 @@ namespace sensor {
...
@@ -78,12 +78,6 @@ namespace sensor {
ESP
.
restart
();
ESP
.
restart
();
}
}
// Changes of the SCD30's measurement timestep do not come into effect
// before the next measurement takes place. That means that after a hard reset
// of the ESP the SCD30 sometimes needs a long time until switching back to 2 s
// for acclimatization. Resetting it after startup seems to fix this behaviour.
scd30
.
reset
();
Serial
.
print
(
F
(
"Setting temperature offset to -"
));
Serial
.
print
(
F
(
"Setting temperature offset to -"
));
Serial
.
print
(
abs
(
config
::
temperature_offset
));
Serial
.
print
(
abs
(
config
::
temperature_offset
));
Serial
.
println
(
F
(
" K."
));
Serial
.
println
(
F
(
" K."
));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets