Permalink
Browse files

Limiting librraew to use sensor analog gain

  • Loading branch information...
1 parent 50bf7a8 commit a34f644e69750a627c9992348681c8e0b3f71640 @mmontero mmontero committed Nov 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ipiped-mt9p031.vala
View
@@ -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));

0 comments on commit a34f644

Please sign in to comment.