Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DIO 5ch TTL a
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DIO 5ch TTL a
Commits
3bca4e8e
Commit
3bca4e8e
authored
Oct 09, 2020
by
Miguel Jimenez Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: Show help message without user arguments (irq-demo)
parent
1c4a9375
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
irq-demo.c
sw/irq-demo/irq-demo.c
+5
-0
No files found.
sw/irq-demo/irq-demo.c
View file @
3bca4e8e
...
...
@@ -203,6 +203,11 @@ static int parse_user_arguments(int argc, char *argv[], user_args parsed_args)
parsed_args
->
irq_period
=
TEST_FMC_DIO_PERIOD
;
parsed_args
->
verbose
=
0
;
if
(
argc
==
1
)
{
show_help
();
return
1
;
}
while
((
opt
=
getopt
(
argc
,
argv
,
"hvf:p:"
))
!=
-
1
)
{
switch
(
opt
)
{
case
'f'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment