Skip to content

Commit

Permalink
chore(assert) add warnign about higher memory usage if LV_USE_ASSERT_…
Browse files Browse the repository at this point in the history
…STYLE is enabled
kisvegabor committed Jun 14, 2021
1 parent 7971ade commit 33e4330
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/lv_obj.c
Original file line number Diff line number Diff line change
@@ -142,6 +142,10 @@ void lv_init(void)
LV_LOG_WARN("Object sanity checks are enabled via LV_USE_ASSERT_OBJ which makes LVGL much slower")
#endif

#if LV_USE_ASSERT_STYLE
LV_LOG_WARN("Style sanity checks are enabled that uses more RAM")
#endif

#if LV_LOG_LEVEL == LV_LOG_LEVEL_TRACE
LV_LOG_WARN("Log level is set the Trace which makes LVGL much slower")
#endif

0 comments on commit 33e4330

Please sign in to comment.