Sigma: Set capture ratio correctly.
This commit is contained in:
parent
c53d793f03
commit
11fc8d9d93
|
@ -1158,7 +1158,7 @@ static int hw_start_acquisition(int device_index, gpointer session_device_id)
|
|||
}
|
||||
|
||||
/* Setup maximum post trigger time. */
|
||||
sigma_set_register(WRITE_POST_TRIGGER, (capture_ratio * 256) / 100);
|
||||
sigma_set_register(WRITE_POST_TRIGGER, (capture_ratio * 255) / 100);
|
||||
|
||||
/* Start acqusition. */
|
||||
gettimeofday(&start_tv, 0);
|
||||
|
|
Loading…
Reference in New Issue