summaryrefslogtreecommitdiffstats
path: root/watch-library/shared/driver/lis2dw.c
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/shared/driver/lis2dw.c')
-rw-r--r--watch-library/shared/driver/lis2dw.c1
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;