Pierre's assertion-avoidance change should also be applied to STM32 F7 and L4
This commit is contained in:
parent
829de7d5bd
commit
7f1a88e243
@ -2887,6 +2887,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 */
|
||||
|
||||
|
@ -2893,6 +2893,7 @@ static void stm32l4_gint_disconnected(FAR struct stm32l4_usbhost_s *priv)
|
||||
stm32l4_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…
Reference in New Issue
Block a user