fix incorrect data toggle when max packet size < 64
fix host buf_sel panic with "already available"
This commit is contained in:
@@ -212,6 +212,7 @@ static void hcd_rp2040_irq(void)
|
||||
if (status & USB_INTS_BUFF_STATUS_BITS)
|
||||
{
|
||||
handled |= USB_INTS_BUFF_STATUS_BITS;
|
||||
// print_bufctrl32(*epx.buffer_control);
|
||||
hw_handle_buff_status();
|
||||
}
|
||||
|
||||
@@ -233,6 +234,7 @@ static void hcd_rp2040_irq(void)
|
||||
if (status & USB_INTS_ERROR_DATA_SEQ_BITS)
|
||||
{
|
||||
usb_hw_clear->sie_status = USB_SIE_STATUS_DATA_SEQ_ERROR_BITS;
|
||||
// print_bufctrl32(*epx.buffer_control);
|
||||
panic("Data Seq Error \n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user