doc: Fix some typos on the Kconfig best practices page
Found some copy-paste errors while going through it. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
ef11776460
commit
42a7c43a2a
1 changed files with 7 additions and 7 deletions
|
@ -481,7 +481,7 @@ boards and configurable on others could be expressed as follows:
|
|||
|
||||
config MASK
|
||||
hex
|
||||
prompt "Foo value" if HAS_CONFIGURABLE_MASK
|
||||
prompt "Bitmask" if HAS_CONFIGURABLE_MASK
|
||||
default 0xFF
|
||||
|
||||
The ``HAS_CONFIGURABLE_MASK`` helper symbol would get selected by boards to
|
||||
|
@ -531,8 +531,8 @@ As a motivating example, consider the following code:
|
|||
int "Foo setting 1"
|
||||
default 1
|
||||
|
||||
config FOO_SETTING_1
|
||||
int "Foo setting 1"
|
||||
config FOO_SETTING_2
|
||||
int "Foo setting 2"
|
||||
default 2
|
||||
|
||||
endmenu
|
||||
|
@ -548,8 +548,8 @@ equivalent to the following code:
|
|||
default 1
|
||||
depends on HAS_CONFIGURABLE_FOO
|
||||
|
||||
config FOO_SETTING_1
|
||||
int "Foo setting 1"
|
||||
config FOO_SETTING_2
|
||||
int "Foo setting 2"
|
||||
default 2
|
||||
depends on HAS_CONFIGURABLE_FOO
|
||||
|
||||
|
@ -566,8 +566,8 @@ can use ``visible if`` instead:
|
|||
int "Foo setting 1"
|
||||
default 1
|
||||
|
||||
config FOO_SETTING_1
|
||||
int "Foo setting 1"
|
||||
config FOO_SETTING_2
|
||||
int "Foo setting 2"
|
||||
default 2
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue