usbh rename vars
This commit is contained in:
@@ -69,11 +69,11 @@ static inline void helper_usbh_init_expect(void)
|
||||
|
||||
static inline void helper_usbh_device_emulate(uint8_t dev_addr, uint8_t hub_addr, uint8_t hub_port, uint8_t hostid, tusb_speed_t speed)
|
||||
{
|
||||
usbh_devices[dev_addr].core_id = hostid;
|
||||
usbh_devices[dev_addr].hub_addr = hub_addr;
|
||||
usbh_devices[dev_addr].hub_port = hub_port;
|
||||
usbh_devices[dev_addr].speed = speed;
|
||||
usbh_devices[dev_addr].state = dev_addr ? TUSB_DEVICE_STATE_CONFIGURED : TUSB_DEVICE_STATE_UNPLUG;
|
||||
_usbh_devices[dev_addr].core_id = hostid;
|
||||
_usbh_devices[dev_addr].hub_addr = hub_addr;
|
||||
_usbh_devices[dev_addr].hub_port = hub_port;
|
||||
_usbh_devices[dev_addr].speed = speed;
|
||||
_usbh_devices[dev_addr].state = dev_addr ? TUSB_DEVICE_STATE_CONFIGURED : TUSB_DEVICE_STATE_UNPLUG;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user