]> git.earman.xyz Git - sensor-watch.git/commitdiff
documentation fix
authorJoey Castillo <joeycastillo@utexas.edu>
Sun, 20 Feb 2022 20:49:21 +0000 (15:49 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Sun, 20 Feb 2022 20:49:21 +0000 (15:49 -0500)
apps/spi-test/app.c
movement/watch_faces/sensor/accelerometer_data_acquisition_face.h

index d00b635a1983052fc4a7d516d60769793be22f66..f45c783ba9256092ee0869ca88b39f422dcc36b7 100644 (file)
@@ -26,15 +26,15 @@ typedef union {
     struct {
         struct {
             uint16_t record_type : 2;   // duplicate; this is the same field as info above
-            uint16_t accel : 14;        // X acceleration value, raw, offset by 16384
+            uint16_t accel : 14;        // X acceleration value, raw, offset by 8192
         } x;
         struct {
             uint16_t lpmode : 2;        // low power mode (see lis2dw_low_power_mode_t)
-            uint16_t accel : 14;        // Y acceleration value, raw, offset by 16384
+            uint16_t accel : 14;        // Y acceleration value, raw, offset by 8192
         } y;
         struct {
             uint16_t filter : 2;        // bandwidth filtering selection (see lis2dw_bandwidth_filtering_mode_t)
-            uint16_t accel : 14;        // Z acceleration value, raw, offset by 16384
+            uint16_t accel : 14;        // Z acceleration value, raw, offset by 8192
         } z;
         uint32_t counter : 16;          // number of centiseconds since timestamp in header
     } data;
index 337116a9186c0926698bbadee50498c534b775de..9cea8095fc04421a08ad1fa6ae2932cd28d47afa 100644 (file)
@@ -46,15 +46,15 @@ typedef union {
     struct {
         struct {
             uint16_t record_type : 2;   // duplicate; this is the same field as info above
-            uint16_t accel : 14;        // X acceleration value, raw, offset by 16384
+            uint16_t accel : 14;        // X acceleration value, raw, offset by 8192
         } x;
         struct {
             uint16_t lpmode : 2;        // low power mode (see lis2dw_low_power_mode_t)
-            uint16_t accel : 14;        // Y acceleration value, raw, offset by 16384
+            uint16_t accel : 14;        // Y acceleration value, raw, offset by 8192
         } y;
         struct {
             uint16_t filter : 2;        // bandwidth filtering selection (see lis2dw_bandwidth_filtering_mode_t)
-            uint16_t accel : 14;        // Z acceleration value, raw, offset by 16384
+            uint16_t accel : 14;        // Z acceleration value, raw, offset by 8192
         } z;
         uint32_t counter : 16;          // number of centiseconds since timestamp in header
     } data;