diff options
author | Brian Cully <bjc@kublai.com> | 2019-07-28 10:47:06 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-07-28 10:47:06 -0400 |
commit | a14fc8b5ca9ba6f26f51329a2b88e5be74001bc7 (patch) | |
tree | 6c3a043dc6ede081f7cd544ab9e16905efc131a0 | |
parent | 4296cae4d5e8f54c3dbb57a17db646aaaa995a09 (diff) | |
download | samd21-demo-a14fc8b5ca9ba6f26f51329a2b88e5be74001bc7.tar.gz samd21-demo-a14fc8b5ca9ba6f26f51329a2b88e5be74001bc7.zip |
Get rid of stuff I can't test yet.
-rw-r--r-- | usbh/src/usbproto.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/usbh/src/usbproto.rs b/usbh/src/usbproto.rs index 66b99ce..36edaad 100644 --- a/usbh/src/usbproto.rs +++ b/usbh/src/usbproto.rs @@ -304,7 +304,6 @@ pub enum DescriptorType { DeviceQualifier = 6, OtherSpeed = 7, InterfacePower = 8, - OTG = 9, } impl Default for DescriptorType { fn default() -> Self { @@ -312,26 +311,6 @@ impl Default for DescriptorType { } } -#[derive(Clone, Copy, Debug, PartialEq)] -pub enum HIDDescriptor { - HID = 0x21, -} - -#[derive(Clone, Copy, Debug, PartialEq)] -pub enum OTGFeature { - BHNPEnable = 3, - AHNPSupport = 4, - AAltHNPSupport = 5, -} - -#[derive(Clone, Copy, Debug, PartialEq)] -pub enum USBTransferType { - Control = 0x00, - Isochronous = 0x01, - Bulk = 0x02, - Interrupt = 0x03, -} - #[cfg(test)] mod test { use super::super::pipe::DataBuf; |