From 3903fdac00fc5be4d55afe6bdded007c9c723b1d Mon Sep 17 00:00:00 2001 From: Mike Panetta Date: Thu, 26 Oct 2023 13:59:18 -0400 Subject: [PATCH] cargo fix --- src/old.rs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/old.rs b/src/old.rs index 9bccb49..88e2006 100644 --- a/src/old.rs +++ b/src/old.rs @@ -8,8 +8,8 @@ use bsp::entry; use defmt::*; use defmt_rtt as _; use embedded_hal::digital::v2::OutputPin; -use fugit::RateExtU32; -use fusb302b::Fusb302b; + + use panic_probe as _; // Provide an alias for our BSP so we can switch targets quickly. @@ -19,16 +19,11 @@ use rp_pico as bsp; use bsp::hal::{ clocks::{init_clocks_and_plls, Clock}, - gpio, i2c, pac, + gpio, pac, sio::Sio, - timer::Alarm0, watchdog::Watchdog, }; -use usb_pd::{ - callback::{Event, Response}, - pdo::PowerDataObject, - sink::Sink, -}; + /// The linker will place this boot block at the start of our program image. We /// need this to help the ROM bootloader get our code up and running.