Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - 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
Beam Positoning Monitor - Software
Commits
b3b4309c
Commit
b3b4309c
authored
Feb 12, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal/sm_io/chips/_ad9510.c: fix wrong register address in cp_current ()
This fixes #77 github issue.
parent
f2f7ea21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sm_ch_ad9510.c
hal/sm_io/chips/sm_ch_ad9510.c
+1
-1
No files found.
hal/sm_io/chips/sm_ch_ad9510.c
View file @
b3b4309c
...
...
@@ -535,7 +535,7 @@ smch_err_e smch_ad9510_set_cp_current (smch_ad9510_t *self, uint32_t *cp_current
/* Get the respective code to be written in the register */
AD9510_PLL_3_CP_CURRENT_W
(
__cp_current
/
AD9510_PLL3_CP_CURRENT_MIN
-
1
);
_smch_ad9510_write_8
(
self
,
AD9510_REG_PLL_
2
,
&
data
);
_smch_ad9510_write_8
(
self
,
AD9510_REG_PLL_
3
,
&
data
);
_smch_ad9510_reg_update
(
self
);
/* Wait for reset to complete */
...
...
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