From af4d1e0841cc86260142c7806fe31b3473ac7b29 Mon Sep 17 00:00:00 2001 From: Aux1r Date: Sat, 16 Nov 2024 14:00:40 +0000 Subject: [PATCH] try removing the bad u8 --- lib/sensors/src/tof.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/sensors/src/tof.rs b/lib/sensors/src/tof.rs index 6c2780d..0e4c71e 100644 --- a/lib/sensors/src/tof.rs +++ b/lib/sensors/src/tof.rs @@ -196,7 +196,7 @@ const CLEAR_INTERRUPTS_VAL: u8 = 0x07; // private registers tuples -const PRIVATE_REGISTERS_u8: [(u8,u8); 20] = [ +const PRIVATE_REGISTERS_u8: [(u8,u8); 19] = [ (0x0096,0x00), (0x0097,0xfd), (0x00e3,0x01), @@ -213,7 +213,6 @@ const PRIVATE_REGISTERS_u8: [(u8,u8); 20] = [ (0x00a3,0x3c), (0x00b7,0x00), (0x00bb,0x3c), - (0x00b2,0x09), (0x00ca,0x09), (0x00ff,0x05), (0x0030,0x00),