sensor: Add the calibration status flag

Signed-off-by: xiatian6 <xiatian6@xiaomi.com>
This commit is contained in:
xiatian6 2021-12-23 14:56:01 +08:00 committed by GUIDINGLI
parent 709da0fae4
commit 70c6803db6

View File

@ -344,6 +344,7 @@ struct sensor_mag /* Type: Magnetic Field */
float y; /* Axis Y in Gauss or micro Tesla (uT) */
float z; /* Axis Z in Gauss or micro Tesla (uT) */
float temperature; /* Temperature in degrees celsius */
int32_t status; /* Status of calibration */
};
struct sensor_baro /* Type: Barometer */