mirror of
https://github.com/apache/nuttx.git
synced 2026-08-13 00:15:09 +00:00
Set USB address to avoid a failed assertion
This commit is contained in:
parent
f61a14454d
commit
829de7d5bd
2 changed files with 2 additions and 0 deletions
|
|
@ -2888,6 +2888,7 @@ static void stm32_gint_disconnected(FAR struct stm32_usbhost_s *priv)
|
|||
stm32_chan_freeall(priv);
|
||||
|
||||
priv->rhport.hport.speed = USB_SPEED_FULL;
|
||||
priv->rhport.hport.funcaddr = 0;
|
||||
|
||||
/* Notify any waiters that there is a change in the connection state */
|
||||
|
||||
|
|
|
|||
|
|
@ -2888,6 +2888,7 @@ static void stm32_gint_disconnected(FAR struct stm32_usbhost_s *priv)
|
|||
stm32_chan_freeall(priv);
|
||||
|
||||
priv->rhport.hport.speed = USB_SPEED_FULL;
|
||||
priv->rhport.hport.funcaddr = 0;
|
||||
|
||||
/* Notify any waiters that there is a change in the connection state */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue