We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the handler is invoked when assertions like LV_ASSERT_MALLOC(p) are triggered.
LV_ASSERT_MALLOC(p)
by default, the handler is set to:
#define LV_ASSERT_HANDLER_INCLUDE <stdint.h> #define LV_ASSERT_HANDLER while(1)
which would freeze the ui and is not ideal. maybe set it to display an emergency screen with a shutdown button or something else.
note: if malloc assertion is triggered, it could be impossible to construct a new ui screen.
The text was updated successfully, but these errors were encountered:
How to add inside the definition that my function is called. #define LV_ASSERT_HANDLER vMyAssert();
Sorry, something went wrong.
No branches or pull requests
the handler is invoked when assertions like
LV_ASSERT_MALLOC(p)
are triggered.by default, the handler is set to:
which would freeze the ui and is not ideal. maybe set it to display an emergency screen with a shutdown button or something else.
note: if malloc assertion is triggered, it could be impossible to construct a new ui screen.
The text was updated successfully, but these errors were encountered: