Pierre's assertion-avoidance change should also be applied to STM32 F7 and L4

This commit is contained in:
Gregory Nutt 2016-09-15 08:41:49 -06:00
parent 829de7d5bd
commit 7f1a88e243
2 changed files with 2 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */