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:
parent
2c8c35431d
commit
709da0fae4
@ -388,7 +388,7 @@ struct sensor_rgb /* Type: RGB */
|
|||||||
struct sensor_hall /* Type: HALL */
|
struct sensor_hall /* Type: HALL */
|
||||||
{
|
{
|
||||||
uint64_t timestamp; /* Units is microseconds */
|
uint64_t timestamp; /* Units is microseconds */
|
||||||
bool hall; /* Boolean type */
|
int32_t hall; /* Hall state */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct sensor_ir /* Type: Infrared Ray */
|
struct sensor_ir /* Type: Infrared Ray */
|
||||||
|
Loading…
Reference in New Issue
Block a user