Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393_sata
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393_sata
Commits
48a763da
Commit
48a763da
authored
Feb 24, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset reg status
parent
d62fa8ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
x393sata_control.py
py393sata/x393sata_control.py
+5
-1
No files found.
py393sata/x393sata_control.py
View file @
48a763da
...
...
@@ -83,6 +83,10 @@ def connection_errors():
def
reset_device
():
result
=
False
#sata.reset_device()
sata
.
reset_ie
()
for
i
in
range
(
reset_limit
):
if
not
connection_errors
():
log_msg
(
"connection error ("
+
str
(
i
)
+
"), resetting device"
,
4
)
...
...
@@ -111,7 +115,7 @@ if cmd == "set_zynq_ssd":
sata
.
set_zynq_ssd
()
reset_device
()
elif
cmd
==
"set_zynq_esata"
:
sata
.
vsc3304
.
disconnect_all
()
sata
.
vsc3304
.
disconnect_all
()
sata
.
set_zynq_esata
()
reset_device
()
elif
cmd
==
"set_zynq_ssata"
:
...
...
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