Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT Zynq Ultrascale-based System Board
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
41
Issues
41
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
DIOT Zynq Ultrascale-based System Board
Commits
2a497674
Commit
2a497674
authored
Nov 07, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw/petalinux/diot-util: cosmetic changes at startup
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
2faa3879
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
diot_util.c
...t-spec/meta-user/recipes-apps/diot-util/files/diot_util.c
+5
-3
No files found.
sw/petalinux/project-spec/meta-user/recipes-apps/diot-util/files/diot_util.c
View file @
2a497674
...
...
@@ -209,8 +209,7 @@ int main(int argc, char **argv)
char
*
curr_script_cmd
=
NULL
;
int
opt
;
printf
(
"DIOT diagnostic tool
\n
"
);
printf
(
"Type
\"
help
\"
to list available commands
\n
"
);
printf
(
"DIOT diagnostic tool
\n\n
"
);
while
((
opt
=
getopt
(
argc
,
argv
,
"he:"
))
!=
-
1
)
{
switch
(
opt
)
...
...
@@ -222,12 +221,15 @@ int main(int argc, char **argv)
break
;
case
'e'
:
next_script_cmd
=
script_commands
=
strdup
(
optarg
);
printf
(
"args:|%s|
\n
"
,
script_commands
);
break
;
default:
break
;
}
}
if
(
!
script_commands
)
printf
(
"Type
\"
help
\"
to list available commands
\n
"
);
ret
=
open_gpios
();
rl_attempted_completion_function
=
command_completion
;
...
...
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