Change LV_COLOR_DEPTH 24 to 32 because it's really 32 bit

This commit is contained in:
Gabor Kiss-Vamosi
2018-09-21 07:23:44 +02:00
parent d2dfabee3f
commit 92acc6d991
6 changed files with 46 additions and 34 deletions

View File

@@ -41,7 +41,7 @@ extern "C" {
typedef struct {
lv_btn_ext_t btn; /*Ext. of ancestor*/
/*New data for this type */
void * img_src[LV_BTN_STATE_NUM]; /*Store images to each state*/
const void * img_src[LV_BTN_STATE_NUM]; /*Store images to each state*/
lv_img_cf_t act_cf; /*Color format of the currently active image*/
} lv_imgbtn_ext_t;