mirror of
https://github.com/apache/nuttx.git
synced 2026-08-21 13:38:28 +00:00
SAMA5D3x-EK Kconfig: There is no 'else'
This commit is contained in:
parent
a544acfce4
commit
deea97de32
1 changed files with 13 additions and 4 deletions
|
|
@ -146,14 +146,23 @@ config SAMA5D3X_EK_SSC_PORT
|
|||
---help---
|
||||
Specify the I2S port to use, i.e., 0 for SSC0 or 1 for SSC1
|
||||
|
||||
else
|
||||
endif # SAMA5_SSC0 && SAMA5_SSC1
|
||||
|
||||
if SAMA5_SSC0 && !SAMA5_SSC1
|
||||
|
||||
config SAMA5D3X_EK_SSC_PORT
|
||||
int
|
||||
default 0 if SAMA5_SSC0
|
||||
default 1 if SAMA5_SSC1
|
||||
default 0
|
||||
|
||||
endif # SAMA5_SSC0 && SAMA5_SSC1
|
||||
endif # SAMA5_SSC0 && !SAMA5_SSC1
|
||||
|
||||
if !SAMA5_SSC0 && SAMA5_SSC1
|
||||
|
||||
config SAMA5D3X_EK_SSC_PORT
|
||||
int
|
||||
default 1
|
||||
|
||||
endif # SAMA5_SSC0 && !SAMA5_SSC1
|
||||
|
||||
config SAMA5D3X_EK_I2SCHAR_MINOR
|
||||
int "I2S character driver minor number"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue