Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-init
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-init
Commits
0b1c56ba
Commit
0b1c56ba
authored
Oct 27, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed index error @226
parent
22b0e701
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
init_elphel393.py
src/init_elphel393.py
+2
-2
No files found.
src/init_elphel393.py
View file @
0b1c56ba
...
...
@@ -223,14 +223,14 @@ else:
for
i
in
range
(
1
,
5
):
if
switch
[
'port'
+
str
(
i
)]
==
1
:
if
switch
[
'autoexp'
]
==
1
:
sysfs_content
=
init_port_readsysfs
(
"sensor"
+
str
(
i
)
+
"0"
)
sysfs_content
=
init_port_readsysfs
(
"sensor"
+
str
(
i
-
1
)
+
"0"
)
if
sysfs_content
==
"mt9p006"
:
init_autoexp
(
str
(
i
-
1
))
else
:
print
(
"Port "
+
str
(
i
)
+
": skip autoexp"
)
if
switch
[
'autowb'
]
==
1
:
sysfs_content
=
init_port_readsysfs
(
"sensor"
+
str
(
i
)
+
"0"
)
sysfs_content
=
init_port_readsysfs
(
"sensor"
+
str
(
i
-
1
)
+
"0"
)
if
sysfs_content
==
"mt9p006"
:
if
switch
[
'eyesis'
]
!=
0
:
init_autowb_eyesis
(
str
(
i
-
1
))
...
...
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