Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
euro-adc-65m-14b-40cha-gw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
eurocard
euro-adc-65m-14b-40cha
euro-adc-65m-14b-40cha-gw
Commits
fe8997d5
Commit
fe8997d5
authored
Aug 31, 2017
by
Dave Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidying code
parent
64a4ae52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
si5344.py
components/solid/software/si5344.py
+1
-1
No files found.
components/solid/software/si5344.py
View file @
fe8997d5
...
...
@@ -20,7 +20,7 @@ class si5344:
return
self
.
i2c
.
read
(
self
.
slaveaddr
,
nwords
)
def
writeRegister
(
self
,
myaddr
,
data
):
myaddr
=
myaddr
&
0xFFFF
myaddr
=
int
(
myaddr
)
&
0xFFFF
currentPg
=
self
.
getPage
()
requirePg
=
(
myaddr
&
0xFF00
)
>>
8
if
currentPg
[
0
]
!=
requirePg
:
...
...
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