Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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 DEL 1ns 4cha - Software
Commits
abce15f8
Commit
abce15f8
authored
Mar 25, 2014
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/fmc-fdelay-pulse: don't show excessive information unless asked to by -v option
parent
1d0e0ab0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
fmc-fdelay-pulse.c
tools/fmc-fdelay-pulse.c
+10
-7
No files found.
tools/fmc-fdelay-pulse.c
View file @
abce15f8
...
...
@@ -354,9 +354,13 @@ int main(int argc, char **argv)
}
/* Report to user how parsing turned out to be */
tools_report_time
(
"start time: "
,
&
p
.
start
,
TOOLS_UMODE_USER
);
tools_report_time
(
"pulse width:"
,
&
t_width
,
TOOLS_UMODE_USER
);
tools_report_time
(
"period: "
,
&
p
.
loop
,
TOOLS_UMODE_USER
);
if
(
verbose
)
{
printf
(
"Parsed times:
\n
"
);
tools_report_time
(
" start time: "
,
&
p
.
start
,
TOOLS_UMODE_USER
);
tools_report_time
(
" pulse width:"
,
&
t_width
,
TOOLS_UMODE_USER
);
tools_report_time
(
" period: "
,
&
p
.
loop
,
TOOLS_UMODE_USER
);
}
/* End is start + width, in every situation */
p
.
end
=
ts_add
(
p
.
start
,
t_width
);
...
...
@@ -367,10 +371,9 @@ int main(int argc, char **argv)
/* Done. Report verbosely and activate the information we parsed */
channel
=
FDELAY_OUTPUT_USER_TO_HW
(
channel
);
if
(
verbose
)
{
report_output_config
(
channel
,
&
p
,
TOOLS_UMODE_USER
);
// tools_report_action(channel, &p, TOOLS_UMODE_RAW);
}
report_output_config
(
channel
,
&
p
,
TOOLS_UMODE_USER
);
if
(
fdelay_config_pulse
(
b
,
channel
,
&
p
)
<
0
)
{
fprintf
(
stderr
,
"%s: fdelay_config_pulse(): %s
\n
"
,
argv
[
0
],
strerror
(
errno
));
...
...
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