diff --git a/include/nuttx/sensors/sensor.h b/include/nuttx/sensors/sensor.h index ed6ede91b7a..2a069598e81 100644 --- a/include/nuttx/sensors/sensor.h +++ b/include/nuttx/sensors/sensor.h @@ -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 */