Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
3f16eb1a
Commit
3f16eb1a
authored
Mar 22, 2013
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor: show status of multiple aux inputs in the GUI
parent
779c3bc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
monitor.c
monitor/monitor.c
+8
-5
No files found.
monitor/monitor.c
View file @
3f16eb1a
...
...
@@ -116,13 +116,16 @@ void wrc_mon_gui(void)
cprintf
(
C_GREY
,
"Aux clock status: "
);
aux_stat
=
spll_get_aux_status
(
0
);
int
n_ref
,
n_out
,
i
;
spll_get_num_channels
(
&
n_ref
,
&
n_out
);
if
(
aux_stat
&
SPLL_AUX_ENABLED
)
cprintf
(
C_GREEN
,
"enabled"
);
for
(
i
=
0
;
i
<
n_out
-
1
;
i
++
)
{
const
char
*
aux_stat
=
spll_get_aux_status_string
(
i
);
if
(
aux_stat
&
SPLL_AUX_LOCKED
)
cprintf
(
C_GREEN
,
", locked"
);
cprintf
(
C_GREY
,
"%d:"
,
i
);
cprintf
(
C_GREEN
,
"%s "
,
aux_stat
);
}
mprintf
(
"
\n
"
);
cprintf
(
C_BLUE
,
"
\n
Timing parameters:
\n\n
"
);
...
...
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