From 083573de4adf1bc16cf87085c8dd319822e7ad40 Mon Sep 17 00:00:00 2001 From: Empire Date: Wed, 8 Oct 2025 20:44:03 +0200 Subject: [PATCH] remove old stuff --- rust/src/hal/v4_sensor.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rust/src/hal/v4_sensor.rs b/rust/src/hal/v4_sensor.rs index a64dee8..23a85ee 100644 --- a/rust/src/hal/v4_sensor.rs +++ b/rust/src/hal/v4_sensor.rs @@ -179,9 +179,6 @@ impl SensorImpl { can_power.set_high(); let mut config = twai_config.take().expect("twai config not set"); let mut as_async = config.into_async().start(); - Timer::after_millis(10).await; - - // Give CAN some time to stabilize Timer::after_millis(10).await; @@ -239,9 +236,6 @@ impl SensorImpl { } } - // Wait for acknowledgements on the bus (stub: just wait 5 seconds) - Timer::after_millis(5_000).await; - // Stop CAN and power down let config = as_async.stop().into_blocking(); can_power.set_low(); twai_config.replace(config);