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
0878a413
Commit
0878a413
authored
4 years ago
by
Käppler
Browse files
Options
Download
Email Patches
Plain Diff
co2_sensor: Move comment and wrap overlong line
parent
1440e361
dev/sensorstates
dev/calibnightmode
dev/debugcalib
dev/fixstartup
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ampel-firmware/co2_sensor.cpp
+2
-2
ampel-firmware/co2_sensor.cpp
with
2 additions
and
2 deletions
+2
-2
ampel-firmware/co2_sensor.cpp
+
2
-
2
View file @
0878a413
...
...
@@ -213,9 +213,9 @@ namespace sensor {
temperature
=
scd30
.
getTemperature
();
humidity
=
scd30
.
getHumidity
();
//NOTE: Data is available, but it's sometimes erroneous: the sensor outputs zero ppm but non-zero temperature and non-zero humidity.
if
(
co2
<=
0
)
{
// No measurement yet. Waiting.
// NOTE: Data is available, but it's sometimes erroneous: the sensor outputs
// zero ppm but non-zero temperature and non-zero humidity.
switchState
(
BOOTUP
);
}
else
if
(
co2
<
250
)
{
// Sensor should be calibrated.
...
...
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