device API rename
This commit is contained in:
@@ -102,7 +102,7 @@ static tusb_error_t get_descriptor(uint8_t coreid, tusb_control_request_t const
|
||||
//--------------------------------------------------------------------+
|
||||
// APPLICATION INTERFACE
|
||||
//--------------------------------------------------------------------+
|
||||
bool tusbd_is_configured(uint8_t coreid)
|
||||
bool tud_configured(uint8_t coreid)
|
||||
{
|
||||
return usbd_devices[coreid].state == TUSB_DEVICE_STATE_CONFIGURED;
|
||||
}
|
||||
|
||||
@@ -91,8 +91,8 @@ typedef struct {
|
||||
//--------------------------------------------------------------------+
|
||||
// APPLICATION API
|
||||
//--------------------------------------------------------------------+
|
||||
bool tusbd_is_configured(uint8_t coreid) ATTR_WARN_UNUSED_RESULT;
|
||||
//void tusbd_device_suspended_cb(uint8_t coreid);
|
||||
bool tud_configured(uint8_t coreid);
|
||||
//void tud_device_suspended_cb(uint8_t coreid);
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// CLASS-USBD & INTERNAL API
|
||||
|
||||
Reference in New Issue
Block a user