mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Kconfig: Simplify the conditional default statement
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
d46dce5819
commit
8083b094c3
10 changed files with 15 additions and 30 deletions
|
|
@ -18,8 +18,7 @@ menu "NX Server/Device Configuration"
|
|||
|
||||
config NXWIDGETS_FLICKERFREE
|
||||
bool "Enable Flicker Reduction Logic"
|
||||
default y if NX_LCDDRIVER
|
||||
default n if !NX_LCDDRIVER
|
||||
default NX_LCDDRIVER
|
||||
---help---
|
||||
Because of their performance an in the manner in which they are
|
||||
updated, LCDs may be prone to "flicker" in the displays when Widgets
|
||||
|
|
|
|||
|
|
@ -124,8 +124,7 @@ comment "Background Image"
|
|||
|
||||
config NXWM_DISABLE_BACKGROUND_IMAGE
|
||||
bool "Disable Background Image"
|
||||
default n if !NXWM_DISABLE_MINIMIZE
|
||||
default y if NXWM_DISABLE_MINIMIZE
|
||||
default NXWM_DISABLE_MINIMIZE
|
||||
---help---
|
||||
Disable support for the "Desktop" background image.
|
||||
|
||||
|
|
@ -465,8 +464,7 @@ menu "NxWM Touchscreen Configuration"
|
|||
|
||||
config NXWM_TOUCHSCREEN
|
||||
bool "Touchscreen Support"
|
||||
default y if INPUT
|
||||
default n if !INPUT
|
||||
default INPUT
|
||||
---help---
|
||||
Define to build in touchscreen support.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue