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
6
Merge Requests
6
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
5cce6590
Commit
5cce6590
authored
Aug 16, 2019
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ljd: fix compilation warnings
parent
a612ba01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
wrc.h
include/wrc.h
+2
-0
softpll_ng.h
softpll/softpll_ng.h
+1
-0
spll_external.c
softpll/spll_external.c
+1
-1
No files found.
include/wrc.h
View file @
5cce6590
...
...
@@ -71,6 +71,8 @@ extern int wrc_ui_refperiod;
/* Init functions and defaults for the wrs build */
int
ad9516_init
(
int
scb_ver
,
int
ljd_present
);
int
ext_ad9516_init
(
void
);
int
ext_ad9516_locked
(
void
);
void
rts_init
(
void
);
int
rtipc_init
(
void
);
void
rts_update
(
void
);
...
...
softpll/softpll_ng.h
View file @
5cce6590
...
...
@@ -107,6 +107,7 @@ void spll_set_dac(int out_channel, int value);
int
spll_get_dac
(
int
out_channel
);
void
check_vco_frequencies
(
void
);
int
spll_measure_frequency
(
int
osc
);
/*
* Aux and main state:
...
...
softpll/spll_external.c
View file @
5cce6590
...
...
@@ -131,7 +131,7 @@ int external_align_fsm(volatile struct spll_external_state *s)
if
(
!
ljd_present
&&
SPLL
->
ECCR
&
SPLL_ECCR_EXT_REF_STOPPED
)
s
->
align_state
=
ALIGN_STATE_WAIT_CLKIN
;
else
if
((
!
ljd_present
&&
SPLL
->
ECCR
&
SPLL_ECCR_EXT_REF_LOCKED
)
||
ljd_present
&&
ext_ad9516_locked
(
))
(
ljd_present
&&
ext_ad9516_locked
()
))
s
->
align_state
=
ALIGN_STATE_START
;
done_sth
++
;
break
;
...
...
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