mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-26 14:08:53 +00:00
v1.0.3
This commit is contained in:
@@ -47,9 +47,9 @@ static rt_size_t aic_tsen_fetch(struct rt_sensor_device *sensor, void *buf, rt_s
|
||||
pr_warn("%s is unavailable!\n", chan->name);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
#ifdef AIC_SID_DRV
|
||||
hal_tsen_curve_fitting(chan);
|
||||
|
||||
#endif
|
||||
data->type = RT_SENSOR_CLASS_TEMP;
|
||||
data->timestamp = rt_sensor_get_ts();
|
||||
if (chan->mode == AIC_TSEN_MODE_SINGLE)
|
||||
|
||||
Reference in New Issue
Block a user