-
Committer:
Shane Synan
-
Date:
2021-07-13 23:44:08 UTC
-
Revision ID:
digitalcircuit36939@gmail.com-20210713234408-f813w6czkfjf9il9
added #define USE_THERM_AUTOCALIBRATE to opt out
Moved factory reset thermal auto-calibration behind a new default-on
config #define USE_THERM_AUTOCALIBRATE. Commenting this out or the
usual #ifdef/#undef in a cfg-[...].h build file allows for manually
calibrating the temperature offset.
This may be useful for factory-calibrated temperature sensors or for
those who regularly flash custom builds and don't want to recalibrate
each time.
Determining the correct temperature offset for a given flashlight
first requires flashing a build with auto-calibrate disabled, using
that to determine the offset, which can then be baked in to future
firmware builds.