From a14fc8b5ca9ba6f26f51329a2b88e5be74001bc7 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sun, 28 Jul 2019 10:47:06 -0400 Subject: Get rid of stuff I can't test yet. --- usbh/src/usbproto.rs | 21 --------------------- 1 file changed, 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; -- cgit v1.2.3