house keeping
This commit is contained in:
parent
d3aed01874
commit
8c0bc38713
|
@ -74,6 +74,8 @@ void tusbh_cdc_unmounted_isr(uint8_t dev_addr)
|
||||||
}
|
}
|
||||||
|
|
||||||
void tusbh_cdc_xfer_isr(uint8_t dev_addr, tusb_event_t event, cdc_pipeid_t pipe_id, uint32_t xferred_bytes)
|
void tusbh_cdc_xfer_isr(uint8_t dev_addr, tusb_event_t event, cdc_pipeid_t pipe_id, uint32_t xferred_bytes)
|
||||||
|
{
|
||||||
|
if ( pipe_id == CDC_PIPE_DATA_IN )
|
||||||
{
|
{
|
||||||
switch(event)
|
switch(event)
|
||||||
{
|
{
|
||||||
|
@ -94,6 +96,13 @@ void tusbh_cdc_xfer_isr(uint8_t dev_addr, tusb_event_t event, cdc_pipeid_t pipe_
|
||||||
ASSERT(false, (void) 0); // error
|
ASSERT(false, (void) 0); // error
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}else if (pipe_id == CDC_PIPE_DATA_OUT)
|
||||||
|
{
|
||||||
|
|
||||||
|
}else if (pipe_id == CDC_PIPE_NOTIFICATION)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
|
Loading…
Reference in New Issue