diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
commit | 43ec94a665e13552402ff4f102e0f65f6792cf29 (patch) | |
tree | 05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/pwm | |
parent | 70b6bb22af51defd713adfd452309f32f0e523aa (diff) | |
download | px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2 px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip |
More trailing whilespace removal
Diffstat (limited to 'apps/examples/pwm')
-rw-r--r-- | apps/examples/pwm/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/pwm/pwm_main.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile index ece901a99..d51bbf5db 100644 --- a/apps/examples/pwm/Makefile +++ b/apps/examples/pwm/Makefile @@ -68,7 +68,7 @@ STACKSIZE = 2048 # Common build -VPATH = +VPATH = all: .built .PHONY: context clean depend distclean diff --git a/apps/examples/pwm/pwm_main.c b/apps/examples/pwm/pwm_main.c index c524479b7..956ff04c5 100644 --- a/apps/examples/pwm/pwm_main.c +++ b/apps/examples/pwm/pwm_main.c @@ -185,7 +185,7 @@ static void parse_args(FAR struct pwm_state_s *pwm, int argc, FAR char **argv) long value; int index; int nargs; - + for (index = 1; index < argc; ) { ptr = argv[index]; @@ -256,7 +256,7 @@ static void parse_args(FAR struct pwm_state_s *pwm, int argc, FAR char **argv) case 'h': pwm_help(pwm); exit(0); - + default: message("Unsupported option: %s\n", ptr); pwm_help(pwm); @@ -340,7 +340,7 @@ int pwm_main(int argc, char *argv[]) info.frequency, info.duty); #endif - + ret = ioctl(fd, PWMIOC_SETCHARACTERISTICS, (unsigned long)((uintptr_t)&info)); if (ret < 0) { @@ -362,7 +362,7 @@ int pwm_main(int argc, char *argv[]) /* It a non-zero count was not specified, then wait for the selected * duration, then stop the PWM output. */ - + #ifdef CONFIG_PWM_PULSECOUNT if (info.count == 0) #endif |