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
91a1564c
Commit
91a1564c
authored
Apr 09, 2019
by
baujc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify WRS calibration functions (2)
See commit 'Simplify WRS calibration functions' below
parent
d74fda13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
main-loop.c
arch-wrs/main-loop.c
+1
-1
wrs-startup.c
arch-wrs/wrs-startup.c
+0
-6
No files found.
arch-wrs/main-loop.c
View file @
91a1564c
...
...
@@ -55,7 +55,7 @@ static unsigned int run_all_state_machines(struct pp_globals *ppg)
uint32_t
bit_slide_ps
;
ppi
->
state
=
PPS_INITIALIZING
;
if
(
wrs_read_c
orrection_data
(
ppi
,
NULL
,
NULL
,
&
bit_slide_ps
)
!=
WRH_HW_CALIB_OK
)
{
if
(
wrs_read_c
alibration_data
(
ppi
,
NULL
,
&
bit_slide_ps
)
!=
WRH_HW_CALIB_OK
)
{
pp_diag
(
ppi
,
fsm
,
1
,
"Cannot read bit_slide value values
\n
"
);
bit_slide_ps
=
0
;
}
...
...
arch-wrs/wrs-startup.c
View file @
91a1564c
...
...
@@ -42,13 +42,7 @@ struct wrh_operations wrh_oper = {
.
adjust_in_progress
=
wrs_adjust_in_progress
,
.
adjust_counters
=
wrs_adjust_counters
,
.
adjust_phase
=
wrs_adjust_phase
,
.
read_corr_data
=
wrs_read_correction_data
,
.
read_calib_data
=
wrs_read_calibration_data
,
.
calib_disable
=
wrs_calibrating_disable
,
.
calib_enable
=
wrs_calibrating_enable
,
.
calib_poll
=
wrs_calibrating_poll
,
.
calib_pattern_enable
=
wrs_calibration_pattern_enable
,
.
calib_pattern_disable
=
wrs_calibration_pattern_disable
,
.
enable_timing_output
=
wrs_enable_timing_output
,
...
...
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