mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-17 18:28:31 +00:00
examples/lvgldemo: Add config to enable Slideshow mode for Widgets demo
This commit is contained in:
parent
ad5fff4b0b
commit
e6df9f55f1
2 changed files with 17 additions and 2 deletions
|
|
@ -61,6 +61,17 @@ config EXAMPLES_LVGLDEMO_WIDGETS
|
|||
|
||||
endchoice
|
||||
|
||||
if EXAMPLES_LVGLDEMO_WIDGETS
|
||||
|
||||
config EXAMPLES_LVGLDEMO_WIDGETS_SLIDESHOW
|
||||
bool "Enable Slideshow mode for Widgets example"
|
||||
default n
|
||||
---help---
|
||||
Slideshow mode consists of a non-interactive demonstration of the
|
||||
Widgets example.
|
||||
|
||||
endif # EXAMPLES_LVGLDEMO_WIDGETS
|
||||
|
||||
config EXAMPLES_LVGLDEMO_PRIORITY
|
||||
int "lvgl task priority"
|
||||
default 100
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/lvgldemo/lv_ex_conf.h
|
||||
* apps/examples/lvgldemo/lv_ex_conf.h
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
@ -45,7 +45,11 @@
|
|||
|
||||
#define LV_USE_DEMO_WIDGETS 1
|
||||
#if LV_USE_DEMO_WIDGETS
|
||||
#define LV_DEMO_WIDGETS_SLIDESHOW 0
|
||||
#ifdef CONFIG_EXAMPLES_LVGLDEMO_WIDGETS_SLIDESHOW
|
||||
#define LV_DEMO_WIDGETS_SLIDESHOW CONFIG_EXAMPLES_LVGLDEMO_WIDGETS_SLIDESHOW
|
||||
#else
|
||||
#define LV_DEMO_WIDGETS_SLIDESHOW 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Printer demo, optimized for 800x480 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue