Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PTP noposix stack
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
PTP noposix stack
Commits
def7e908
Commit
def7e908
authored
Mar 13, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
softpll: code snapshot correctly compiling
Conflicts: rt/dev/softpll_ng.c
parent
b5cb2d10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
softpll_ng.c
rt/dev/softpll_ng.c
+7
-7
No files found.
rt/dev/softpll_ng.c
View file @
def7e908
...
...
@@ -23,8 +23,8 @@ static volatile struct SPLL_WB *SPLL = (volatile struct SPLL_WB *) BASE_SOFTPLL;
#include "spll_main.h"
#include "spll_ptracker.h"
static
struct
spll_helper_state
helper
;
static
struct
spll_main_state
mpll
;
static
volatile
struct
spll_helper_state
helper
;
static
volatile
struct
spll_main_state
mpll
;
void
_irq_entry
()
{
...
...
@@ -85,14 +85,14 @@ void spll_test()
timer_delay
(
10000
);
spll_init
();
uint32_t
t1
=
timer_get_tics
();
helper_init
(
&
helper
,
2
);
helper_init
(
&
helper
,
0
);
helper_start
(
&
helper
);
mpll_init
(
&
mpll
,
2
,
CHAN_TCXO
);
mpll_init
(
&
mpll
,
0
,
CHAN_TCXO
);
enable_irq
();
// mpll_init(&mpll, 0, CHAN_TCXO);
while
(
!
helper
.
ld
.
locked
)
;
//TRACE("%d\n", helper.phase.ld.locked);
TRACE
(
"Helper locked, starting main
\n
"
);
mpll_start
(
&
mpll
);
while
(
!
mpll
.
ld
.
locked
)
;
//TRACE("%d\n", helper.phase.ld.locked);
...
...
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