diff options
| author | 2023-05-22 18:39:46 +0000 | |
|---|---|---|
| committer | 2023-05-22 18:39:46 +0000 | |
| commit | 1dd15d0d52d6975a01cbc5cc3359c9747df5717f (patch) | |
| tree | fea823851cde6506bb027626bceabea9f53a0045 | |
| parent | 119daca2c6ef663c7b5b7985e7f02a13066e3c51 (diff) | |
| parent | 2c5692bd42154e938474b6f9638d3edb1c6b4c91 (diff) | |
Merge "Fix NDK documentation for ASensorEvent" into udc-dev
| -rw-r--r-- | include/android/sensor.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/android/sensor.h b/include/android/sensor.h index 085fc270c1..16c5dde60f 100644 --- a/include/android/sensor.h +++ b/include/android/sensor.h @@ -611,10 +611,14 @@ typedef struct AHeadingEvent { * sensors_event_t */ typedef struct ASensorEvent { - int32_t version; /* sizeof(struct ASensorEvent) */ - int32_t sensor; /** The sensor that generates this event */ - int32_t type; /** Sensor type for the event, such as {@link ASENSOR_TYPE_ACCELEROMETER} */ - int32_t reserved0; /** do not use */ + /* sizeof(struct ASensorEvent) */ + int32_t version; + /** The sensor that generates this event */ + int32_t sensor; + /** Sensor type for the event, such as {@link ASENSOR_TYPE_ACCELEROMETER} */ + int32_t type; + /** do not use */ + int32_t reserved0; /** * The time in nanoseconds at which the event happened, and its behavior * is identical to <a href="/reference/android/hardware/SensorEvent#timestamp"> |