mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user