cleanup warnings

This commit is contained in:
bunnie 2024-01-28 02:14:40 +08:00
parent 334495aaec
commit 89f671446a
2 changed files with 1 additions and 18 deletions

View file

@ -103,20 +103,3 @@ pub struct IoxConfigMessage {
pub slow_slew: Option<iox::IoxEnable>,
pub strength: Option<iox::IoxDriveStrength>,
}
#[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)]
pub enum IoxRequest {
// possible requests
Direction(iox::IoxDir),
Pullup(iox::IoxEnable),
SchmittTrigger(iox::IoxEnable),
SlowSlew(iox::IoxEnable),
DriveStrength(iox::IoxDriveStrength),
SetAlternateFunction(iox::IoxFunction),
SetPioFromPioBitmask(u32),
SetPioFromPortAndPin(bool),
// possible return results
ResultPortPin(iox::IoxPort, u8),
ResultOk,
ResultErr,
}

View file

@ -4,7 +4,7 @@ use api::*;
mod pio;
use cramium_hal::{
iox,
udma::{EventChannel, GlobalConfig, PeriphEventId, PeriphEventType, PeriphId},
udma::{EventChannel, GlobalConfig, PeriphId},
};
use xous::sender::Sender;