diff --git a/pod-operation/src/main.rs b/pod-operation/src/main.rs index 5b65aa2d..97761d31 100644 --- a/pod-operation/src/main.rs +++ b/pod-operation/src/main.rs @@ -40,7 +40,7 @@ async fn main() -> Result<(), Box> { let ads1015 = LimTemperature::new(ads1x1x::SlaveAddr::Default); tokio::spawn(demo::read_ads1015(ads1015)); - let wheel_encoder = WheelEncoder::new().expect("Failed to initialize WheelEncoder"); + let wheel_encoder = WheelEncoder::new(); tokio::spawn(demo::read_wheel_encoder(wheel_encoder)); let gyro: Gyroscope = Gyroscope::new();