@@ -313,7 +313,7 @@ static void config_port_power_complete (tuh_xfer_t* xfer)
313
313
// Connection Changes
314
314
//--------------------------------------------------------------------+
315
315
316
- static void connection_get_status_complete (tuh_xfer_t * xfer );
316
+ static void hub_port_get_status_complete (tuh_xfer_t * xfer );
317
317
static void connection_clear_conn_change_complete (tuh_xfer_t * xfer );
318
318
static void connection_port_reset_complete (tuh_xfer_t * xfer );
319
319
@@ -333,7 +333,7 @@ bool hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t result, uint32
333
333
{
334
334
if ( tu_bit_test (p_hub -> status_change , port ) )
335
335
{
336
- if (hub_port_get_status (dev_addr , port , & p_hub -> port_status , connection_get_status_complete , 0 ) == false)
336
+ if (hub_port_get_status (dev_addr , port , & p_hub -> port_status , hub_port_get_status_complete , 0 ) == false)
337
337
{
338
338
//Hub status control transfer failed, retry
339
339
hub_edpt_status_xfer (dev_addr );
@@ -347,7 +347,7 @@ bool hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t result, uint32
347
347
return true;
348
348
}
349
349
350
- static void connection_get_status_complete (tuh_xfer_t * xfer )
350
+ static void hub_port_get_status_complete (tuh_xfer_t * xfer )
351
351
{
352
352
TU_ASSERT (xfer -> result == XFER_RESULT_SUCCESS , );
353
353
0 commit comments