From 002140e63420e6a7acc7dfb7c5bc5d51dcfa938c Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sun, 20 Feb 2022 15:29:50 -0500 Subject: [PATCH] documentation fix --- apps/spi-test/app.c | 2 +- .../watch_faces/sensor/accelerometer_data_acquisition_face.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spi-test/app.c b/apps/spi-test/app.c index 504835b..d00b635 100644 --- a/apps/spi-test/app.c +++ b/apps/spi-test/app.c @@ -36,7 +36,7 @@ typedef union { uint16_t filter : 2; // bandwidth filtering selection (see lis2dw_bandwidth_filtering_mode_t) uint16_t accel : 14; // Z acceleration value, raw, offset by 16384 } z; - uint32_t counter : 16; // number of seconds since timestamp in header + uint32_t counter : 16; // number of centiseconds since timestamp in header } data; uint64_t value; } accelerometer_data_acquisition_record_t; diff --git a/movement/watch_faces/sensor/accelerometer_data_acquisition_face.h b/movement/watch_faces/sensor/accelerometer_data_acquisition_face.h index 6da79f8..337116a 100644 --- a/movement/watch_faces/sensor/accelerometer_data_acquisition_face.h +++ b/movement/watch_faces/sensor/accelerometer_data_acquisition_face.h @@ -56,7 +56,7 @@ typedef union { uint16_t filter : 2; // bandwidth filtering selection (see lis2dw_bandwidth_filtering_mode_t) uint16_t accel : 14; // Z acceleration value, raw, offset by 16384 } z; - uint32_t counter : 16; // number of seconds since timestamp in header + uint32_t counter : 16; // number of centiseconds since timestamp in header } data; uint64_t value; } accelerometer_data_acquisition_record_t;