fix(msgbox): remove superflous dependency check (#8916)

This commit is contained in:
André Costa
2025-09-23 20:55:47 +02:00
committed by GitHub
parent 990c156eda
commit 9a405341f9
2 changed files with 4 additions and 10 deletions
+4 -1
View File
@@ -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
*********************/
-9
View File
@@ -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
*********************/