Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
043af2b4
Commit
043af2b4
authored
May 29, 2019
by
Jean-Claude BAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue: Enable PPS output for GM when PLL not locked at startup
parent
a0091b90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
main-loop.c
arch-wrs/main-loop.c
+4
-1
No files found.
arch-wrs/main-loop.c
View file @
043af2b4
...
@@ -128,7 +128,10 @@ static unsigned int run_all_state_machines(struct pp_globals *ppg)
...
@@ -128,7 +128,10 @@ static unsigned int run_all_state_machines(struct pp_globals *ppg)
if
(
WRS_ARCH_G
(
ppg
)
->
timingModeLockingState
==
WRH_TM_LOCKING_STATE_LOCKING
||
if
(
WRS_ARCH_G
(
ppg
)
->
timingModeLockingState
==
WRH_TM_LOCKING_STATE_LOCKING
||
WRS_ARCH_G
(
ppg
)
->
timingModeLockingState
==
WRH_TM_LOCKING_STATE_ERROR
)
{
WRS_ARCH_G
(
ppg
)
->
timingModeLockingState
==
WRH_TM_LOCKING_STATE_ERROR
)
{
// Was not locked before
// Was not locked before
TOPS
(
INST
(
ppg
,
0
))
->
set
(
INST
(
ppg
,
0
),
NULL
);
// GM locked: set the time
struct
pp_instance
*
ppi
=
INST
(
ppg
,
0
);
TOPS
(
ppi
)
->
set
(
ppi
,
NULL
);
// GM locked: set the time
TOPS
(
ppi
)
->
enable_timing_output
(
ppg
,
1
);
// Enable timing output
}
}
}
}
// Update timingModeLockingState field
// Update timingModeLockingState field
...
...
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