Skip to content

Commit

Permalink
+ add comment about typical SCD30 temperature offset values
Browse files Browse the repository at this point in the history
  • Loading branch information
langchr86 committed Feb 4, 2024
1 parent 72f87c5 commit b993908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/src/sensors/scd30.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ bool Scd30::HardwareInitialization(const std::chrono::seconds &readout_interval)
}

// temperature calibration is done by Sensor::SetCalibration
if (device_.setTemperatureOffset(1.2f) == false)
if (device_.setTemperatureOffset(1.2f) == false) // for battery operation: 1.2 / for power supply operation: 2.0
{
logger_.LogError("Failed to set temperature offset");
return false;
Expand Down

0 comments on commit b993908

Please sign in to comment.