Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
4ff49e0c
Commit
4ff49e0c
authored
Mar 23, 2022
by
Eric Duminil
Browse files
Moving functions from h to cpp
parent
468cba2e
Pipeline
#6037
failed with stage
in 1 minute and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/co2_sensor.cpp
View file @
4ff49e0c
...
...
@@ -64,6 +64,7 @@ namespace sensor {
void
calibrateSensorToSpecificPPM
(
int32_t
calibrationLevel
);
void
calibrateSensorRightNow
(
int32_t
calibrationLevel
);
void
setAutoCalibration
(
int32_t
autoCalibration
);
void
setTimer
(
int32_t
timestep
);
void
initialize
()
{
Serial
.
println
(
F
(
"Sensor : Senseair S8"
));
...
...
@@ -106,7 +107,6 @@ namespace sensor {
// sensor_console::defineIntCommand("calibrate!", calibrateSensorRightNow,
// F("600 (Calibrates right now, to given ppm)"));
// sensor_console::defineIntCommand("auto_calibrate", setAutoCalibration, F("0/1 (Disables/enables autocalibration)"));
// sensor_console::defineCommand("reset_scd", resetSCD, F("(Resets SCD30)"));
}
bool
hasSensorSettled
()
{
...
...
@@ -293,8 +293,4 @@ namespace sensor {
void
calibrateSensorRightNow
(
int32_t
calibrationLevel
)
{
Serial
.
println
(
F
(
"TODO: Implement ME!"
));
}
void
resetSCD
()
{
Serial
.
println
(
F
(
"TODO: Implement ME! (or delete me)"
));
}
}
ampel-firmware/co2_sensor.h
View file @
4ff49e0c
...
...
@@ -12,8 +12,6 @@ namespace sensor {
void
initialize
();
bool
processData
();
void
startCalibrationProcess
();
void
setTimer
(
int32_t
timestep
);
void
resetSCD
();
float
getTemperatureOffset
();
}
#endif
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