Set USB address to avoid a failed assertion
This commit is contained in:
parent
f61a14454d
commit
829de7d5bd
@ -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…
x
Reference in New Issue
Block a user