mirror of
https://github.com/joeycastillo/second-movement.git
synced 2026-02-04 08:55:35 +00:00
lis2dw_read_fifo(&fifo, 100 / DISPLAY_FREQUENCY))
This commit is contained in:
committed by
Alessandro Genova
parent
19f789e428
commit
625e920970
@ -420,7 +420,7 @@ static void _monitor_update(lis2dw_monitor_state_t *state)
|
||||
lis2dw_fifo_t fifo;
|
||||
float x = 0, y = 0, z = 0;
|
||||
|
||||
lis2dw_read_fifo(&fifo, 25);
|
||||
lis2dw_read_fifo(&fifo, 100 / DISPLAY_FREQUENCY);
|
||||
if (fifo.count == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user