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
cb16102d
Commit
cb16102d
authored
Oct 24, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+crossover connection
parent
ff022d6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
x393sata.py
py393sata/x393sata.py
+6
-1
x393sata_control.py
py393sata/x393sata_control.py
+3
-0
No files found.
py393sata/x393sata.py
View file @
cb16102d
...
@@ -416,6 +416,11 @@ class x393sata(object):
...
@@ -416,6 +416,11 @@ class x393sata(object):
if
self
.
DEBUG_MODE
:
if
self
.
DEBUG_MODE
:
self
.
vsc3304
.
connection_status
()
self
.
vsc3304
.
connection_status
()
def
set_zynq_ssata
(
self
):
self
.
vsc3304
.
connect_zynq_ssata
()
if
self
.
DEBUG_MODE
:
self
.
vsc3304
.
connection_status
()
def
set_esata_ssd
(
self
):
def
set_esata_ssd
(
self
):
self
.
vsc3304
.
connect_esata_ssd
()
self
.
vsc3304
.
connect_esata_ssd
()
if
self
.
DEBUG_MODE
:
if
self
.
DEBUG_MODE
:
...
...
py393sata/x393sata_control.py
View file @
cb16102d
...
@@ -18,10 +18,13 @@ if cmd == "set_zynq_ssd":
...
@@ -18,10 +18,13 @@ if cmd == "set_zynq_ssd":
sata
.
set_zynq_ssd
()
sata
.
set_zynq_ssd
()
elif
cmd
==
"set_zynq_esata"
:
elif
cmd
==
"set_zynq_esata"
:
sata
.
set_zynq_esata
()
sata
.
set_zynq_esata
()
elif
cmd
==
"set_zynq_ssata"
:
sata
.
set_zynq_esata
()
elif
cmd
==
"set_esata_ssd"
:
elif
cmd
==
"set_esata_ssd"
:
sata
.
set_esata_ssd
()
sata
.
set_esata_ssd
()
else
:
else
:
print
(
"Usage:"
)
print
(
"Usage:"
)
print
(
" * camera <-> internal SSD : x393sata_control.py set_zynq_ssd"
)
print
(
" * camera <-> internal SSD : x393sata_control.py set_zynq_ssd"
)
print
(
" * camera <-> external disk : x393sata_control.py set_zynq_esata"
)
print
(
" * camera <-> external disk : x393sata_control.py set_zynq_esata"
)
print
(
" * camera <-> external disk (crossover): x393sata_control.py set_zynq_ssata"
)
print
(
" * PC <-> internal SSD) : x393sata_control.py set_esata_ssd"
)
print
(
" * PC <-> internal SSD) : x393sata_control.py set_esata_ssd"
)
\ No newline at end of file
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