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
1a676412
Commit
1a676412
authored
Apr 30, 2021
by
Käppler
Browse files
More precise comment for SCD30.reset()
parent
3e82e31c
Changes
1
Show whitespace changes
Inline
Side-by-side
ampel-firmware/co2_sensor.cpp
View file @
1a676412
...
@@ -80,9 +80,10 @@ namespace sensor {
...
@@ -80,9 +80,10 @@ namespace sensor {
ESP
.
restart
();
ESP
.
restart
();
}
}
// Sometimes after a hard reset of the ESP the SCD30 needs
// Changes of the SCD30's measurement timestep do not come into effect
// a long time until returning the first measurement. Resetting it
// before the next measurement takes place. That means that after a hard reset
// after startup seems to fix this behaviour.
// 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
();
scd30
.
reset
();
switchState
(
BOOTUP
);
switchState
(
BOOTUP
);
...
...
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