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
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
58d1e009
Commit
58d1e009
authored
Feb 04, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor: rename Timing mode into PLL mode
Signed-off-by:
Adam Wujek
<
adam.wujek@creotech.pl
>
parent
bc12598d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
monitor_ppsi.c
monitor/monitor_ppsi.c
+8
-8
No files found.
monitor/monitor_ppsi.c
View file @
58d1e009
...
...
@@ -341,9 +341,9 @@ void print_gui_description(void)
wrc_hw_name
,
build_revision
);
cprintf
(
C_MAGENTA
,
"
\n
Esc or q = exit; r = redraw GUI"
);
cprintf
(
C_BLUE
,
"
\n\n
TAI Time:%2
5
sUTC offset:"
,
""
);
cprintf
(
C_BLUE
,
"
\n\n
TAI Time:%2
2
sUTC offset:"
,
""
);
pp_printf
(
"
\n
Timing
mode:%22sPLL state:
\n
"
,
""
);
pp_printf
(
"
\n
PLL
mode:%22sPLL state:
\n
"
,
""
);
ndevs
=
netif_get_device_count
();
...
...
@@ -404,15 +404,15 @@ int wrc_mon_gui(void)
shw_pps_gen_get_time
(
&
sec
,
&
nsec
);
/* TAI Time */
pcprintf
(
4
,
1
4
,
C_WHITE
,
"%s"
,
format_time
(
sec
,
TIME_FORMAT_SORTED
));
pcprintf
(
4
,
1
1
,
C_WHITE
,
"%s"
,
format_time
(
sec
,
TIME_FORMAT_SORTED
));
/* UTC offset */
wrc_ptp_get_leapsec
(
&
i
,
&
n_out
/* dummy */
);
pprintf
(
4
,
4
7
,
"%d"
,
i
);
pprintf
(
4
,
4
4
,
"%d"
,
i
);
/* Timing mode */
pprintf
(
5
,
1
4
,
getStateAsString
(
timing_mode_state
,
WRPC_ARCH_G
(
ppg
)
->
timingMode
));
pprintf
(
5
,
1
1
,
getStateAsString
(
timing_mode_state
,
WRPC_ARCH_G
(
ppg
)
->
timingMode
));
/* PLL locking state */
if
(
spll_check_lock
(
0
))
...
...
@@ -420,7 +420,7 @@ int wrc_mon_gui(void)
else
{
pll_locking_state_name
=
"Locking"
;
}
pprintf
(
5
,
4
7
,
"%s"
,
pll_locking_state_name
);
pprintf
(
5
,
4
4
,
"%s"
,
pll_locking_state_name
);
ndevs
=
netif_get_device_count
();
...
...
@@ -726,12 +726,12 @@ void show_servo(struct pp_instance *ppi)
if
(
pe_info
->
lastt
&&
time
(
NULL
)
-
pe_info
->
lastt
>
5
)
{
pcprintf
(
18
,
23
,
C_RED
,
"--- not updating ---
\n
"
);
}
else
{
pcprintf
(
18
,
23
,
C_WHITE
,
"%s:%s: %s%
10
s
\n
"
,
pcprintf
(
18
,
23
,
C_WHITE
,
"%s:%s: %s%
-15
s
\n
"
,
ppi
->
cfg
.
iface_name
,
pe_info
->
ext_name
,
ppi
->
servo
->
servo_state_name
,
ppi
->
servo
->
flags
&
PP_SERVO_FLAG_WAIT_HW
?
" (wait for hw)"
:
"
"
);
" (wait for hw)"
:
""
);
}
/* "tracking disabled" is just a testing tool */
...
...
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