Skip to content
Snippets Groups Projects
Commit d05a813b authored by schneider's avatar schneider
Browse files

change(bsec): use -2.2 K default offset

parent 35687ce3
No related branches found
No related tags found
No related merge requests found
......@@ -61,5 +61,5 @@ Option name Type Description
------------------ ---------- -----------
``bsec_debug`` Boolean Turn on debug output of the BSEC system. Prints each meaurement on the console.
------------------ ---------- -----------
``bsec_offset`` Integer Temperature offset in .1 K. Example: Set to `-14` if temperature reads 1.4 "C" to high.
``bsec_offset`` Integer Temperature offset in .1 K. Example: Set to `-14` if temperature reads 1.4 "C" to high. Default: -2.2 K (appropriate for a card10 without a case, connected to USB and with BLE active in vertical orientation).
================== ========== ===========
......@@ -387,7 +387,7 @@ int bsec_activate(void)
debug = config_get_boolean_with_default("bsec_debug", false);
float temperature_offset =
config_get_integer_with_default("bsec_offset", 0) / 10.;
config_get_integer_with_default("bsec_offset", -22) / 10.;
if (temperature_offset != 0.0) {
LOG_INFO(
"besec",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment