Skip to content

Commit

Permalink
Fix wheel encoder initialization in main
Browse files Browse the repository at this point in the history
  • Loading branch information
taesungh committed May 30, 2024
1 parent ba569a1 commit 2759afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod-operation/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
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();
Expand Down

0 comments on commit 2759afa

Please sign in to comment.