diff options
Diffstat (limited to 'apps/examples/adc/adc_main.c')
-rw-r--r-- | apps/examples/adc/adc_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/adc/adc_main.c b/apps/examples/adc/adc_main.c index b0ed43897..e78c00eac 100644 --- a/apps/examples/adc/adc_main.c +++ b/apps/examples/adc/adc_main.c @@ -176,7 +176,7 @@ static void parse_args(FAR struct adc_state_s *adc, int argc, FAR char **argv) long value; int index; int nargs; - + for (index = 1; index < argc; ) { ptr = argv[index]; @@ -209,7 +209,7 @@ static void parse_args(FAR struct adc_state_s *adc, int argc, FAR char **argv) case 'h': adc_help(adc); exit(0); - + default: message("Unsupported option: %s\n", ptr); adc_help(adc); |