mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-24 00:07:03 +08:00
fix(msgbox): remove superflous dependency check (#8916)
This commit is contained in:
@@ -12,13 +12,16 @@
|
||||
#if LV_USE_MSGBOX
|
||||
|
||||
#include "../label/lv_label.h"
|
||||
#include "../button/lv_button.h"
|
||||
#include "../image/lv_image.h"
|
||||
#include "../../misc/lv_assert.h"
|
||||
#include "../../display/lv_display.h"
|
||||
#include "../../layouts/flex/lv_flex.h"
|
||||
#include "../../stdlib/lv_string.h"
|
||||
|
||||
#if LV_USE_LABEL == 0
|
||||
#error "lv_mbox: lv_label is required. Enable it in lv_conf.h (LV_USE_LABEL 1) "
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
@@ -17,15 +17,6 @@ extern "C" {
|
||||
|
||||
#if LV_USE_MSGBOX
|
||||
|
||||
/*Testing of dependencies*/
|
||||
#if LV_USE_BUTTONMATRIX == 0
|
||||
#error "lv_mbox: lv_buttonmatrix is required. Enable it in lv_conf.h (LV_USE_BUTTONMATRIX 1) "
|
||||
#endif
|
||||
|
||||
#if LV_USE_LABEL == 0
|
||||
#error "lv_mbox: lv_label is required. Enable it in lv_conf.h (LV_USE_LABEL 1) "
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
Reference in New Issue
Block a user