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
29
Issues
29
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
d4d6cc7a
Commit
d4d6cc7a
authored
Apr 26, 2012
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor: update to new softpll, still needs to fix clk aux
parent
9096fd23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
monitor.c
monitor/monitor.c
+6
-6
No files found.
monitor/monitor.c
View file @
d4d6cc7a
#include "board.h"
#include "ptpd_exports.h"
#include "hal_exports.h"
#include "softpll.h"
#include "softpll
_ng
.h"
extern
ptpdexp_sync_state_t
cur_servo_state
;
extern
int
wrc_man_phase
;
...
...
@@ -76,13 +76,13 @@ int wrc_mon_gui(void)
m_cprintf
(
C_GREY
,
"Synchronization source: "
);
m_cprintf
(
C_WHITE
,
"%s
\n
"
,
cur_servo_state
.
sync_source
);
m_cprintf
(
C_GREY
,
"Aux clock status: "
);
aux_stat
=
softpll_get_aux_status
();
//aux_stat = spll_check_lock(1); //GGDD
softpll_get_aux_status();
if
(
aux_stat
&
SOFTPLL_AUX_ENABLED
)
m_cprintf
(
C_GREEN
,
"enabled"
);
//
if(aux_stat & SOFTPLL_AUX_ENABLED)
//
m_cprintf(C_GREEN,"enabled");
if
(
aux_stat
&
SOFTPLL_AUX_LOCKED
)
m_cprintf
(
C_GREEN
,
", locked"
);
//
if(aux_stat & SOFTPLL_AUX_LOCKED)
//
m_cprintf(C_GREEN,", locked");
mprintf
(
"
\n
"
);
m_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