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/relays | |
parent | 70b6bb22af51defd713adfd452309f32f0e523aa (diff) | |
download | nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2 nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip |
More trailing whilespace removal
Diffstat (limited to 'apps/examples/relays')
-rw-r--r-- | apps/examples/relays/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/relays/relays_main.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/relays/Makefile b/apps/examples/relays/Makefile index 1ab4c8716..e5afd6fbf 100644 --- a/apps/examples/relays/Makefile +++ b/apps/examples/relays/Makefile @@ -68,7 +68,7 @@ STACKSIZE = 512 # Common build -VPATH = +VPATH = all: .built .PHONY: context clean depend distclean diff --git a/apps/examples/relays/relays_main.c b/apps/examples/relays/relays_main.c index c7ad6db0f..941ac2302 100644 --- a/apps/examples/relays/relays_main.c +++ b/apps/examples/relays/relays_main.c @@ -122,15 +122,15 @@ int relays_main(int argc, char *argv[]) printf("usage: relays [ -n <relay id> ] <switch-status>\n"); return -1; } - + if (optind == argc - 1) { stat = argv[optind]; set_stat = (!strcmp(stat,"on") || !strcmp(stat,"ON")) ? true : false ; } - + up_relaysinit(); - + if (n >= 0) { printf("set RELAY ID %d to %s\n", n , set_stat ? "ON" : "OFF"); |