mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup warnings
This commit is contained in:
parent
334495aaec
commit
89f671446a
2 changed files with 1 additions and 18 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue