Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
31
Issues
31
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
Software for White Rabbit PTP Core
Commits
848d7739
Commit
848d7739
authored
Nov 08, 2013
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[t24_fix]: initialize to 0 rest of variables inside det_rising and det_falling
parent
4611f503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
rxts_calibrator.c
dev/rxts_calibrator.c
+5
-1
No files found.
dev/rxts_calibrator.c
View file @
848d7739
...
...
@@ -122,6 +122,10 @@ void rxts_calibration_start()
cal_cur_phase
=
0
;
det_rising
.
prev_val
=
det_falling
.
prev_val
=
-
1
;
det_rising
.
state
=
det_falling
.
state
=
TD_WAIT_INACTIVE
;
det_rising
.
sample_count
=
0
;
det_falling
.
sample_count
=
0
;
det_rising
.
trans_phase
=
0
;
det_falling
.
trans_phase
=
0
;
spll_set_phase_shift
(
0
,
0
);
}
...
...
@@ -129,7 +133,7 @@ void rxts_calibration_start()
calibration is done. */
int
rxts_calibration_update
(
uint32_t
*
t24p_value
)
{
int32_t
ttrans
;
int32_t
ttrans
=
0
;
if
(
spll_shifter_busy
(
0
))
return
0
;
...
...
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