remove accidentally enabled LV_BUILD_TEST

This commit is contained in:
Gabor Kiss-Vamosi
2020-03-07 10:25:42 +01:00
parent c33d875015
commit ad44495146
2 changed files with 3 additions and 4 deletions

1
lvgl.h
View File

@@ -83,7 +83,6 @@ extern "C" {
#define LVGL_VERSION_PATCH 0
#define LVGL_VERSION_INFO "dev"
#define LV_BUILD_TEST 1
/**********************
* TYPEDEFS
**********************/

View File

@@ -73,7 +73,6 @@ lv_obj_t * lv_imgbtn_create(lv_obj_t * par, const lv_obj_t * copy);
* Setter functions
*====================*/
#if LV_IMGBTN_TILED == 0
/**
* Set images for a state of the image button
* @param imgbtn pointer to an image button object
@@ -81,7 +80,8 @@ lv_obj_t * lv_imgbtn_create(lv_obj_t * par, const lv_obj_t * copy);
* @param src pointer to an image source (a C array or path to a file)
*/
void lv_imgbtn_set_src(lv_obj_t * imgbtn, lv_btn_state_t state, const void * src);
#else
#if LV_IMGBTN_TILED
/**
* Set images for a state of the image button
* @param imgbtn pointer to an image button object
@@ -93,7 +93,7 @@ void lv_imgbtn_set_src(lv_obj_t * imgbtn, lv_btn_state_t state, const void * src
* @param src_right pointer to an image source for the right side of the button (a C array or path
* to a file)
*/
void lv_imgbtn_set_src(lv_obj_t * imgbtn, lv_btn_state_t state, const void * src_left, const void * src_mid,
void lv_imgbtn_set_src_tiled(lv_obj_t * imgbtn, lv_btn_state_t state, const void * src_left, const void * src_mid,
const void * src_right);
#endif