Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Käppler
ampel-firmware
Commits
6781d9d6
Commit
6781d9d6
authored
Dec 21, 2020
by
Eric Duminil
Browse files
Deviation
parent
597c2220
Changes
1
Show whitespace changes
Inline
Side-by-side
co2_sensor.cpp
View file @
6781d9d6
...
@@ -70,7 +70,7 @@ namespace sensor {
...
@@ -70,7 +70,7 @@ namespace sensor {
Serial
.
println
(
config
::
auto_calibrate_sensor
?
"ON."
:
"OFF."
);
Serial
.
println
(
config
::
auto_calibrate_sensor
?
"ON."
:
"OFF."
);
}
}
//NOTE: should time
offset
be used to adjust measurement_timestep?
//NOTE: should time
r deviation
be used to adjust measurement_timestep?
void
checkTimerDeviation
()
{
void
checkTimerDeviation
()
{
static
int32_t
previous_measurement_at
=
0
;
static
int32_t
previous_measurement_at
=
0
;
int32_t
now
=
millis
();
int32_t
now
=
millis
();
...
...
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