diff --git a/services/cram-hal-service/src/api.rs b/services/cram-hal-service/src/api.rs index 8b300bcbb..182769cf2 100644 --- a/services/cram-hal-service/src/api.rs +++ b/services/cram-hal-service/src/api.rs @@ -103,20 +103,3 @@ pub struct IoxConfigMessage { pub slow_slew: Option, pub strength: Option, } - -#[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, -} diff --git a/services/cram-hal-service/src/main.rs b/services/cram-hal-service/src/main.rs index cf602f2d8..799683813 100644 --- a/services/cram-hal-service/src/main.rs +++ b/services/cram-hal-service/src/main.rs @@ -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;