Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Limiting librraew to use sensor analog gain

  • Loading branch information...
commit a34f644e69750a627c9992348681c8e0b3f71640 1 parent 50bf7a8
@mmontero mmontero authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ipiped-mt9p031.vala
View
2  src/ipiped-mt9p031.vala
@@ -405,7 +405,7 @@ public class Ipiped_mt9p031 : AbstcSensor{
sensor.colorptn = colorptn;
sensor.max_exp_time = 0x7fffffff;
sensor.min_exp_time = 1;
- sensor.max_gain = 128;
+ sensor.max_gain = 32; // Use only analog gain
sensor.min_gain = 1;
sensor.n_gain_steps = 3;
sensor.gain_steps = (RraewGainStep*)malloc(sensor.n_gain_steps*sizeof(RraewGainStep));
Please sign in to comment.
Something went wrong with that request. Please try again.