diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-02-18 16:34:52 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-02-18 16:34:52 -0500 |
commit | efde4190f1c1d989530d1bd555739dffa1664da5 (patch) | |
tree | f0131dad29d3c8c365eecdbdb5d11b6e2e9fd43d /watch-library/shared/driver/lis2dw.c | |
parent | 8cba4516bbd51f6459f1699979138c741f407f64 (diff) | |
download | Sensor-Watch-efde4190f1c1d989530d1bd555739dffa1664da5.tar.gz Sensor-Watch-efde4190f1c1d989530d1bd555739dffa1664da5.tar.bz2 Sensor-Watch-efde4190f1c1d989530d1bd555739dffa1664da5.zip |
movement: WIP app for capturing accelerometer data
Diffstat (limited to 'watch-library/shared/driver/lis2dw.c')
-rw-r--r-- | watch-library/shared/driver/lis2dw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/watch-library/shared/driver/lis2dw.c b/watch-library/shared/driver/lis2dw.c index 275c1c7c..b2c93d85 100644 --- a/watch-library/shared/driver/lis2dw.c +++ b/watch-library/shared/driver/lis2dw.c @@ -148,7 +148,6 @@ inline void lis2dw_enable_fifo(void) { bool lis2dw_read_fifo(lis2dw_fifo_t *fifo_data) { uint8_t temp = watch_i2c_read8(LIS2DW_ADDRESS, LIS2DW_REG_FIFO_SAMPLE); bool overrun = !!(temp & LIS2DW_FIFO_SAMPLE_OVERRUN); - uint8_t buffer[6]; fifo_data->count = temp & LIS2DW_FIFO_SAMPLE_COUNT; |