fix: sensor: update hall data type

update hall data type to int32_t

Signed-off-by: jinxudong <jinxudong@xiaomi.com>
This commit is contained in:
jinxudong 2022-09-05 19:09:30 +08:00 committed by GUIDINGLI
parent 2c8c35431d
commit 709da0fae4

View File

@ -388,7 +388,7 @@ struct sensor_rgb /* Type: RGB */
struct sensor_hall /* Type: HALL */
{
uint64_t timestamp; /* Units is microseconds */
bool hall; /* Boolean type */
int32_t hall; /* Hall state */
};
struct sensor_ir /* Type: Infrared Ray */