Commit 80bb4da7 authored by Andrey Filippov's avatar Andrey Filippov

Merge branch 'master' of github.com:Elphel/x393

parents 82e11ec7 79fe4423
...@@ -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 = 0x902c, reg_addr16 = 0x902d,
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 = 0x902d, reg_addr16 = 0x902c,
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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment