Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PPSi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projects
PPSi
Commits
043af2b4
Commit
043af2b4
authored
5 years ago
by
Jean-Claude BAU
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue: Enable PPS output for GM when PLL not locked at startup
parent
a0091b90
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch-wrs/main-loop.c
+4
-1
4 additions, 1 deletion
arch-wrs/main-loop.c
with
4 additions
and
1 deletion
arch-wrs/main-loop.c
+
4
−
1
View file @
043af2b4
...
...
@@ -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
||
WRS_ARCH_G
(
ppg
)
->
timingModeLockingState
==
WRH_TM_LOCKING_STATE_ERROR
)
{
// 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment