You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when user does not need the open notification, the FX_DISABLE_FORCE_MEMORY_OPERATION is undefined and fx_media_open_notify_set(fx_media, NULL) is not called before the opening, the FX_MEDIA fx_media_open_notify attribute is never initialized, resulting in a potential hard fault.
Azure RTOS 6.3.0
Steps to reproduce the behavior:
let FX_DISABLE_FORCE_MEMORY_OPERATION undefined
do not call fx_media_open_notify_set
create FX_MEDIA in the stack after some work was done and memory isnt only zeroes anymore
open the media
the "address" contained in fx_media_open_notify will be called
two ways it can be worked around
-defining FX_DISABLE_FORCE_MEMORY_OPERATION
-before the opening, calling fx_media_open_notify_set with a function pointer or null
The text was updated successfully, but these errors were encountered:
when user does not need the open notification, the FX_DISABLE_FORCE_MEMORY_OPERATION is undefined and fx_media_open_notify_set(fx_media, NULL) is not called before the opening, the FX_MEDIA fx_media_open_notify attribute is never initialized, resulting in a potential hard fault.
Azure RTOS 6.3.0
Steps to reproduce the behavior:
two ways it can be worked around
-defining FX_DISABLE_FORCE_MEMORY_OPERATION
-before the opening, calling fx_media_open_notify_set with a function pointer or null
The text was updated successfully, but these errors were encountered: