refractor
- rename TUSB_DEVICE_STATE_READY to TUSB_DEVICE_STATE_CONFIGURED - move device_state to core/tusb_types.h - remove usbh_device_hcd_data_cleaned_up_cb, hcd now set the state directly
This commit is contained in:
@@ -93,17 +93,6 @@
|
||||
// TUSB_CLASS_APPLICATION_SPECIFIC = 0xEF ,
|
||||
// TUSB_CLASS_VENDOR_SPECIFIC = 0xFF
|
||||
|
||||
/// Device Status
|
||||
enum tusbh_device_status_{
|
||||
TUSB_DEVICE_STATE_UNPLUG = 0,
|
||||
TUSB_DEVICE_STATE_ADDRESSED,
|
||||
|
||||
TUSB_DEVICE_STATE_READY, /* Configured */
|
||||
|
||||
TUSB_DEVICE_STATE_REMOVING,
|
||||
TUSB_DEVICE_STATE_SAFE_REMOVE,
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
PIPE_STATUS_AVAILABLE = 0,
|
||||
PIPE_STATUS_BUSY,
|
||||
|
||||
Reference in New Issue
Block a user