mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
drivers/sensors: Remove the uncalibrated member of the sensor
lowerhalf layer. The uncalibrated type is passed in with type. The driver defaults to the calibrated type. Signed-off-by: likun17 <likun17@xiaomi.com>
This commit is contained in:
@@ -174,9 +174,9 @@ static const struct sensor_meta_s g_sensor_meta[] =
|
||||
{sizeof(struct sensor_rotation), "rotation"},
|
||||
{sizeof(struct sensor_humi), "humi"},
|
||||
{sizeof(struct sensor_temp), "ambient_temp"},
|
||||
{sizeof(struct sensor_mag), "mag_uncal"},
|
||||
{sizeof(struct sensor_mag_uncal), "mag_uncal"},
|
||||
{sizeof(struct sensor_pm1p0), "pm1p0"},
|
||||
{sizeof(struct sensor_gyro), "gyro_uncal"},
|
||||
{sizeof(struct sensor_gyro_uncal), "gyro_uncal"},
|
||||
{sizeof(struct sensor_event), "motion_detect"},
|
||||
{sizeof(struct sensor_event), "step_detector"},
|
||||
{sizeof(struct sensor_step_counter), "step_counter"},
|
||||
@@ -195,7 +195,7 @@ static const struct sensor_meta_s g_sensor_meta[] =
|
||||
{sizeof(struct sensor_force), "force"},
|
||||
{sizeof(struct sensor_hall), "hall"},
|
||||
{sizeof(struct sensor_event), "offbody_detector"},
|
||||
{sizeof(struct sensor_accel), "accel_uncal"},
|
||||
{sizeof(struct sensor_accel_uncal), "accel_uncal"},
|
||||
{sizeof(struct sensor_angle), "hinge_angle"},
|
||||
{sizeof(struct sensor_ir), "ir"},
|
||||
{sizeof(struct sensor_hcho), "hcho"},
|
||||
|
||||
Reference in New Issue
Block a user