Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
White Rabbit Switch - Software
Commits
5570a745
Commit
5570a745
authored
Apr 23, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/wrsw_hdl: PPSG_CMD_POLL must also check phase shifter status
parent
119ce5d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
hal_exports.c
userspace/wrsw_hal/hal_exports.c
+2
-3
No files found.
userspace/wrsw_hal/hal_exports.c
View file @
5570a745
...
@@ -99,9 +99,8 @@ int halexp_pps_cmd(int cmd, hexp_pps_params_t *params)
...
@@ -99,9 +99,8 @@ int halexp_pps_cmd(int cmd, hexp_pps_params_t *params)
delay calculation. */
delay calculation. */
case
HEXP_PPSG_CMD_POLL
:
case
HEXP_PPSG_CMD_POLL
:
busy
=
shw_pps_gen_busy
();
busy
=
shw_pps_gen_busy
()
||
hal_phase_shifter_busy
();
// TRACE(TRACE_INFO, "ppsg_busy: %d\n",busy);
return
busy
?
0
:
1
;
return
busy
?
0
:
1
;
/* no more dmpll shifter to check */
}
}
return
-
1
;
/* fixme: real error code */
return
-
1
;
/* fixme: real error code */
}
}
...
...
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