remove old stuff

This commit is contained in:
2025-10-08 20:44:03 +02:00
parent e5c5f31112
commit 083573de4a

View File

@@ -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);