Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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 ADC 100M 14b 4cha - Software
Commits
e3d91fe0
Commit
e3d91fe0
authored
Aug 11, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: fix use the correct slope table for DAC
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
41767cf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fa-calibration.c
kernel/fa-calibration.c
+1
-1
No files found.
kernel/fa-calibration.c
View file @
e3d91fe0
...
...
@@ -123,7 +123,7 @@ static int fa_calib_dac_gain_fix(int range, uint32_t gain_c,
{
int64_t
error
;
error
=
gain_
ad
c_error_slope_fix
[
range
]
*
delta_temp
;
error
=
gain_
da
c_error_slope_fix
[
range
]
*
delta_temp
;
error
/=
0x2000
;
/* see comment above for gain_dac_error_slope_fix */
error
/=
1000
;
/* convert to degree */
...
...
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