summaryrefslogtreecommitdiff
path: root/apps/examples/pwm/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-05 18:30:39 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-05 18:30:39 -0600
commitee4c5214f959943c196dbeaaab9ed038f4dbd0f1 (patch)
treeac7e68488a79a92f621005461db87d62eb57d8d8 /apps/examples/pwm/Kconfig
parent26b761fcac72cb7b46740b5a92fd8ff27eb947b7 (diff)
downloadnuttx-ee4c5214f959943c196dbeaaab9ed038f4dbd0f1.tar.gz
nuttx-ee4c5214f959943c196dbeaaab9ed038f4dbd0f1.tar.bz2
nuttx-ee4c5214f959943c196dbeaaab9ed038f4dbd0f1.zip
apps/examples/pwm: Clean up some configuration confusion
Diffstat (limited to 'apps/examples/pwm/Kconfig')
-rw-r--r--apps/examples/pwm/Kconfig12
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/examples/pwm/Kconfig b/apps/examples/pwm/Kconfig
index b9b28fd79..94dc6fb7a 100644
--- a/apps/examples/pwm/Kconfig
+++ b/apps/examples/pwm/Kconfig
@@ -32,17 +32,19 @@ config EXAMPLES_PWM_DUTYPCT
config EXAMPLES_PWM_DURATION
int "Default PWM duration"
- default 5 if !EXAMPLES_PWM_PULSECOUNT
+ default 5
---help---
The default PWM pulse train duration in seconds. Used only if the current
- pulse count is zero (pulse countis only supported if PWM_PULSECOUNT
- is defined). Default: 5 seconds
+ pulse count is zero (pulse count is only supported if PWM_PULSECOUNT
+ is not defined). Default: 5 seconds
config EXAMPLES_PWM_PULSECOUNT
int "Default pulse count"
default 0
+ depends on PWM_PULSECOUNT
---help---
- The initial PWM pulse count. This option is only available if PWM_PULSECOUNT
- is nonzero. Default: 0 (i.e., use the duration, not the count).
+ The initial PWM pulse count. This option is only available if
+ PWM_PULSECOUNT is defined. Default: 0 (i.e., use the duration, not
+ the count).
endif