add some missong LV_USE_... guards

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-16 14:23:18 +01:00
parent c35b645c31
commit 28addaf3ce
5 changed files with 15 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#include "../../lvgl.h"
#if LV_BUILD_EXAMPLES
static void btn_event_cb(lv_obj_t * btn, lv_event_t event)
{
@@ -26,3 +27,5 @@ void lv_example_get_started_1(void)
lv_label_set_text(label, "Button"); /*Set the labels text*/
}
#endif