Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
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
Commits
80bb4da7
Commit
80bb4da7
authored
May 05, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Elphel/x393
parents
82e11ec7
79fe4423
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
x393_sensor.py
py393/x393_sensor.py
+2
-2
No files found.
py393/x393_sensor.py
View file @
80bb4da7
...
@@ -829,7 +829,7 @@ class X393Sensor(object):
...
@@ -829,7 +829,7 @@ class X393Sensor(object):
if
sensorType
==
"PAR12"
:
if
sensorType
==
"PAR12"
:
if
not
gain_r
is
None
:
if
not
gain_r
is
None
:
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
reg_addr16
=
0x902
c
,
reg_addr16
=
0x902
d
,
reg_data16
=
gain_r
)
reg_data16
=
gain_r
)
if
not
gain_gr
is
None
:
if
not
gain_gr
is
None
:
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
...
@@ -841,7 +841,7 @@ class X393Sensor(object):
...
@@ -841,7 +841,7 @@ class X393Sensor(object):
reg_data16
=
gain_gb
)
reg_data16
=
gain_gb
)
if
not
gain_b
is
None
:
if
not
gain_b
is
None
:
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
reg_addr16
=
0x902
d
,
reg_addr16
=
0x902
c
,
reg_data16
=
gain_b
)
reg_data16
=
gain_b
)
if
not
exposure
is
None
:
if
not
exposure
is
None
:
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
self
.
write_sensor_reg16
(
num_sensor
=
num_sensor
,
...
...
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