Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DEL 1ns 4cha - Software
Commits
b000a735
Commit
b000a735
authored
Jun 12, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd-raw-input: bug fix for coarse calculation in '-p' mode
parent
d6e413a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fd-raw-input.c
tools/fd-raw-input.c
+1
-1
No files found.
tools/fd-raw-input.c
View file @
b000a735
...
...
@@ -92,7 +92,7 @@ void event(uint32_t *a, char *name, int *seq, int mode, long double *t1,
case
MODE_PICO
:
p2
=
a
[
FD_ATTR_TDC_COARSE
]
*
8000LL
+
a
[
FD_ATTR_TDC_FRAC
]
*
4096LL
/
8000
;
+
a
[
FD_ATTR_TDC_FRAC
]
*
8000LL
/
4096
;
delta
=
p2
-
*
p1
;
if
(
delta
<
0
)
delta
+=
1000LL
*
1000
*
1000
*
1000
;
...
...
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