OSDN Git Service

Fix build caused by "bool connect"
authorPeng Xu <pengxu@google.com>
Thu, 28 Jan 2016 02:26:10 +0000 (18:26 -0800)
committerPeng Xu <pengxu@google.com>
Thu, 28 Jan 2016 02:26:10 +0000 (18:26 -0800)
Change-Id: Ibc0bc984aebff6ae512c11bfe3cb1d1a18845a78

include/hardware/sensors.h

index 3c349de..e59847e 100644 (file)
@@ -884,8 +884,8 @@ typedef struct meta_data_event {
  * details.
  */
 typedef struct dynamic_sensor_meta_event {
-    bool  connected;
-    int   handle;
+    int32_t  connected;
+    int32_t  handle;
     const struct sensor_t * sensor; // should be NULL if connected == false
     uint8_t uuid[16];               // UUID of a dynamic sensor (use platform endianess).
 } dynamic_sensor_meta_event_t;