1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

docs(faq): lv_display_t, lv_indev_t, and lv_fs_drv_t doesn't have to be static

This commit is contained in:
Gabor Kiss-Vamosi 2024-04-05 08:44:51 +02:00 committed by Neo Xu
parent 7cb266c086
commit 1dfd782714

View File

@ -193,7 +193,6 @@ LVGL doesn't start, randomly crashes or nothing is drawn on the display. What ca
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Try increasing :c:macro:`LV_MEM_SIZE`.
* Be sure :cpp:type:`lv_display_t`, :cpp:type:`lv_indev_t` and :cpp:type:`lv_fs_drv_t` are global or `static`.
* Be sure your display works without LVGL. E.g. paint it to red on start up.
* Enable :ref:`logging`
* Enable asserts in ``lv_conf.h`` (`LV_USE_ASSERT_...`)