rename tusbh_device_mount_succeed_cb
add set configure and tusbh_device_mount_succeed_cb invocation refractor get_configure_number_for_device
This commit is contained in:
@@ -128,7 +128,7 @@ typedef uint8_t tusbh_device_status_t;
|
||||
// APPLICATION API
|
||||
//--------------------------------------------------------------------+
|
||||
uint8_t tusbh_device_attached_cb (tusb_descriptor_device_t const *p_desc_device) ATTR_WEAK ATTR_WARN_UNUSED_RESULT;
|
||||
void tusbh_device_mounted_cb (tusb_handle_device_t device_hdl) ATTR_WEAK;
|
||||
void tusbh_device_mount_succeed_cb (tusb_handle_device_t device_hdl) ATTR_WEAK;
|
||||
void tusbh_device_mount_failed_cb(tusb_error_t error, tusb_descriptor_device_t const *p_desc_device) ATTR_WEAK; // TODO refractor remove desc_device
|
||||
|
||||
tusb_error_t tusbh_configuration_set (tusb_handle_device_t device_hdl, uint8_t configure_number) ATTR_WARN_UNUSED_RESULT;
|
||||
|
||||
Reference in New Issue
Block a user