Loading include/android/sensor.h +2 −2 Original line number Original line Diff line number Diff line Loading @@ -197,7 +197,7 @@ enum { * A sensor event. * A sensor event. */ */ /* NOTE: Must match hardware/sensors.h */ /* NOTE: changes to these structs have to be backward compatible */ typedef struct ASensorVector { typedef struct ASensorVector { union { union { float v[3]; float v[3]; Loading Loading @@ -259,7 +259,7 @@ typedef struct { }; }; } AAdditionalInfoEvent; } AAdditionalInfoEvent; /* NOTE: Must match hardware/sensors.h */ /* NOTE: changes to this struct has to be backward compatible */ typedef struct ASensorEvent { typedef struct ASensorEvent { int32_t version; /* sizeof(struct ASensorEvent) */ int32_t version; /* sizeof(struct ASensorEvent) */ int32_t sensor; int32_t sensor; Loading Loading
include/android/sensor.h +2 −2 Original line number Original line Diff line number Diff line Loading @@ -197,7 +197,7 @@ enum { * A sensor event. * A sensor event. */ */ /* NOTE: Must match hardware/sensors.h */ /* NOTE: changes to these structs have to be backward compatible */ typedef struct ASensorVector { typedef struct ASensorVector { union { union { float v[3]; float v[3]; Loading Loading @@ -259,7 +259,7 @@ typedef struct { }; }; } AAdditionalInfoEvent; } AAdditionalInfoEvent; /* NOTE: Must match hardware/sensors.h */ /* NOTE: changes to this struct has to be backward compatible */ typedef struct ASensorEvent { typedef struct ASensorEvent { int32_t version; /* sizeof(struct ASensorEvent) */ int32_t version; /* sizeof(struct ASensorEvent) */ int32_t sensor; int32_t sensor; Loading