fix(calendar): fix warning (#4126)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#include "lv_calendar_header_arrow.h"
|
||||
#if LV_USE_CALENDAR_HEADER_ARROW
|
||||
#if LV_USE_CALENDAR && LV_USE_CALENDAR_HEADER_ARROW
|
||||
|
||||
#include "lv_calendar.h"
|
||||
#include "../btn/lv_btn.h"
|
||||
|
||||
@@ -14,7 +14,7 @@ extern "C" {
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#include "../../core/lv_obj.h"
|
||||
#if LV_USE_CALENDAR_HEADER_ARROW
|
||||
#if LV_USE_CALENDAR && LV_USE_CALENDAR_HEADER_ARROW
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#include "lv_calendar_header_dropdown.h"
|
||||
#if LV_USE_CALENDAR_HEADER_DROPDOWN
|
||||
#if LV_USE_CALENDAR && LV_USE_CALENDAR_HEADER_DROPDOWN
|
||||
|
||||
#include "lv_calendar.h"
|
||||
#include "../dropdown/lv_dropdown.h"
|
||||
|
||||
@@ -14,7 +14,7 @@ extern "C" {
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#include "../../core/lv_obj.h"
|
||||
#if LV_USE_CALENDAR_HEADER_DROPDOWN
|
||||
#if LV_USE_CALENDAR && LV_USE_CALENDAR_HEADER_DROPDOWN
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
|
||||
Reference in New Issue
Block a user