]> git.earman.xyz Git - sensor-watch.git/commitdiff
lis2dw_read_fifo(&fifo, 100 / DISPLAY_FREQUENCY))
authorDavid Volovskiy <devolov@gmail.com>
Wed, 8 Oct 2025 00:39:58 +0000 (20:39 -0400)
committerAlessandro Genova <ales.genova@gmail.com>
Sat, 3 Jan 2026 01:07:56 +0000 (20:07 -0500)
watch-faces/sensor/lis2dw_monitor_face.c

index 4459cf736efdeac2a62e5ddacc43e8bda2f3f970..46cc15f32eba90603d2ae438da1893c2521c135b 100644 (file)
@@ -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;
     }