Calling stm_thermal_read_factory_settings before clocking
internal peripheral causes bad register values and makes
temperature computation wrong.
Calling stm_thermal_read_factory_settings inside
stm_thermal_prepare fixes this problem as internal
peripheral is well clocked at this stage.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
st_thermal_memmap.c | ||
st_thermal_syscfg.c | ||
st_thermal.c | ||
st_thermal.h | ||
stm_thermal.c |