Home
last modified time | relevance | path

Searched refs:nearest_offset (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.c262 over_temp_cal->nearest_offset = &over_temp_cal->model_data[0]; in overTempCalInit()
658 over_temp_cal->nearest_offset = over_temp_cal->latest_offset; in overTempCalUpdateSensorEstimate()
883 ASSERT_NOT_NULL(over_temp_cal->nearest_offset); in compareAndCompensateWithNearest()
887 memcpy(compensated_offset, over_temp_cal->nearest_offset->offset, in compareAndCompensateWithNearest()
890 over_temp_cal->nearest_offset->offset_temp_celsius; in compareAndCompensateWithNearest()
982 if (over_temp_cal->nearest_offset != NULL) { in updateCalOffset()
985 ? over_temp_cal->nearest_offset->offset_age_nanos + in updateCalOffset()
987 : over_temp_cal->nearest_offset->offset_age_nanos; in updateCalOffset()
1003 model_points_available && over_temp_cal->nearest_offset != NULL && in updateCalOffset()
1005 over_temp_cal->nearest_offset->offset_temp_celsius) < in updateCalOffset()
[all …]
Dover_temp_cal.h248 struct OverTempModelThreeAxis *nearest_offset; member