diff --git a/Class/DFU/Src/usbd_dfu.c b/Class/DFU/Src/usbd_dfu.c index 98bdf49..d71c378 100644 --- a/Class/DFU/Src/usbd_dfu.c +++ b/Class/DFU/Src/usbd_dfu.c @@ -1095,7 +1095,6 @@ static void DFU_Leave(USBD_HandleTypeDef *pdev) } else { - hdfu->dev_state = DFU_STATE_MANIFEST_WAIT_RESET; hdfu->dev_status[1] = 0U; @@ -1112,8 +1111,7 @@ static void DFU_Leave(USBD_HandleTypeDef *pdev) /* Generate system reset to allow jumping to the user code */ NVIC_SystemReset(); - /* This instruction will not be reached (system reset) */ - for(;;){} + /* The next instructions will not be reached (system reset) */ } } diff --git a/README.md b/README.md index a92107c..3d45553 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Note that: USB Device | HAL | ---------- | ---------- | Tag v2.5.1 | Tag v1.10.2 ([stm32l0xx_hal_driver](https://github.com/STMicroelectronics/stm32l0xx_hal_driver)) +Tag v2.5.2 | Tag v1.4.0 ([stm32l1xx_hal_driver](https://github.com/STMicroelectronics/stm32l1xx_hal_driver)) ## Troubleshooting diff --git a/Release_Notes.html b/Release_Notes.html index d986789..5fcce53 100644 --- a/Release_Notes.html +++ b/Release_Notes.html @@ -923,7 +923,31 @@ ul

Update History

-

V2.5.1 / 03-August-2018
+

V2.5.2 / 27-Mars-2019

Main +Changes

+ + + + + + + + + + + + + + + + + + + + + +

V2.5.1 / 03-August-2018