Sigma: Set capture ratio correctly.

This commit is contained in:
Håvard Espeland 2010-05-02 19:12:36 +02:00
parent c53d793f03
commit 11fc8d9d93
1 changed files with 1 additions and 1 deletions

View File

@ -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);