chore(demos): Remove unused definitions (#5506)

Signed-off-by: lhdjply <lhdjply@126.com>
This commit is contained in:
lhdjply
2024-01-27 17:46:47 +08:00
committed by GitHub
parent 4ee9d3d295
commit 6cf637f2d9
6 changed files with 0 additions and 27 deletions

View File

@@ -906,9 +906,6 @@
/*Show some widget. It might be required to increase `LV_MEM_SIZE` */ /*Show some widget. It might be required to increase `LV_MEM_SIZE` */
#define LV_USE_DEMO_WIDGETS 1 #define LV_USE_DEMO_WIDGETS 1
#if LV_USE_DEMO_WIDGETS
#define LV_DEMO_WIDGETS_SLIDESHOW 1
#endif
/*Demonstrate the usage of encoder and keyboard*/ /*Demonstrate the usage of encoder and keyboard*/
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 1 #define LV_USE_DEMO_KEYPAD_AND_ENCODER 1

View File

@@ -1520,10 +1520,6 @@ menu "LVGL configuration"
config LV_USE_DEMO_WIDGETS config LV_USE_DEMO_WIDGETS
bool "Show some widget" bool "Show some widget"
default n default n
config LV_DEMO_WIDGETS_SLIDESHOW
bool "Enable slide show"
depends on LV_USE_DEMO_WIDGETS
default n
config LV_USE_DEMO_KEYPAD_AND_ENCODER config LV_USE_DEMO_KEYPAD_AND_ENCODER
bool "Demonstrate the usage of encoder and keyboard" bool "Demonstrate the usage of encoder and keyboard"

View File

@@ -13,9 +13,6 @@
/*Show some widget. It might be required to increase `LV_MEM_SIZE` */ /*Show some widget. It might be required to increase `LV_MEM_SIZE` */
#define LV_USE_DEMO_WIDGETS 0 #define LV_USE_DEMO_WIDGETS 0
#if LV_USE_DEMO_WIDGETS
#define LV_DEMO_WIDGETS_SLIDESHOW 0
#endif
/*Demonstrate the usage of encoder and keyboard*/ /*Demonstrate the usage of encoder and keyboard*/
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0 #define LV_USE_DEMO_KEYPAD_AND_ENCODER 0

View File

@@ -820,11 +820,6 @@
* DEMO USAGE * DEMO USAGE
====================*/ ====================*/
/*Show some widget. It might be required to increase `LV_MEM_SIZE` */
#if LV_USE_DEMO_WIDGETS
#define LV_DEMO_WIDGETS_SLIDESHOW 0
#endif
/*Music player demo*/ /*Music player demo*/
#if LV_USE_DEMO_MUSIC #if LV_USE_DEMO_MUSIC
#define LV_DEMO_MUSIC_SQUARE 0 #define LV_DEMO_MUSIC_SQUARE 0

View File

@@ -910,9 +910,6 @@
/*Show some widget. It might be required to increase `LV_MEM_SIZE` */ /*Show some widget. It might be required to increase `LV_MEM_SIZE` */
#define LV_USE_DEMO_WIDGETS 0 #define LV_USE_DEMO_WIDGETS 0
#if LV_USE_DEMO_WIDGETS
#define LV_DEMO_WIDGETS_SLIDESHOW 0
#endif
/*Demonstrate the usage of encoder and keyboard*/ /*Demonstrate the usage of encoder and keyboard*/
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0 #define LV_USE_DEMO_KEYPAD_AND_ENCODER 0

View File

@@ -2982,15 +2982,6 @@
#define LV_USE_DEMO_WIDGETS 0 #define LV_USE_DEMO_WIDGETS 0
#endif #endif
#endif #endif
#if LV_USE_DEMO_WIDGETS
#ifndef LV_DEMO_WIDGETS_SLIDESHOW
#ifdef CONFIG_LV_DEMO_WIDGETS_SLIDESHOW
#define LV_DEMO_WIDGETS_SLIDESHOW CONFIG_LV_DEMO_WIDGETS_SLIDESHOW
#else
#define LV_DEMO_WIDGETS_SLIDESHOW 0
#endif
#endif
#endif
/*Demonstrate the usage of encoder and keyboard*/ /*Demonstrate the usage of encoder and keyboard*/
#ifndef LV_USE_DEMO_KEYPAD_AND_ENCODER #ifndef LV_USE_DEMO_KEYPAD_AND_ENCODER