STMicroelectronics / x-cube-azrtos-h7

X-CUBE-AZRTOS-H7 (Azure RTOS Software Expansion for STM32Cube) provides a full integration of Microsoft Azure RTOS in the STM32Cube environment for the STM32H7 series of microcontrollers.

Home Page:https://www.st.com/en/embedded-software/x-cube-azrtos-h7.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update FileX driver's state after UNINIT

HaoboGu opened this issue · comments

In filex nor flash driver, current_driver->initialized is set to FX_TRUE after FX_DRIVER_INIT, but this state is not set to FX_FALSE in FX_DRIVER_UNINIT, here is the code:

https://github.com/STMicroelectronics/x-cube-azrtos-h7/blob/437ec3bb3455a26c535de52f0fc7f553c739acb7/Middlewares/ST/filex/common/drivers/fx_stm32_levelx_nor_driver.c#L135C1-L139C1

Is it a bug or by design?