set LV_ASSERT_HANDLER to something user friendly
#14
Closed
opened 2 years ago by x1ddos
·
1 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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.
moved to https://github.com/nakamochi/ndg/issues/6