summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-03-24 17:53:25 -0700
committeriximeow <me@iximeow.net>2019-03-24 17:53:25 -0700
commit76b66f519b16572baf22693594adc44c3ec5e4b0 (patch)
treeb21d3132cb212c3a1bd688c515e4f154f5e4a5a0
parentae7d1360a3e3bf40628eb8b99f1ee711c86bdd46 (diff)
reduce wait for asi
-rw-r--r--src/asicam/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asicam/mod.rs b/src/asicam/mod.rs
index 01b9ce7..4d006ae 100644
--- a/src/asicam/mod.rs
+++ b/src/asicam/mod.rs
@@ -110,8 +110,8 @@ impl Camera {
build_result((), res)?;
}
- println!("Sleeping {}ms", exposure_ms + 2500);
- std::thread::sleep(std::time::Duration::from_millis(exposure_ms as u64 + 2500));
+ println!("Sleeping {}ms", exposure_ms + 700);
+ std::thread::sleep(std::time::Duration::from_millis(exposure_ms as u64 + 700));
let res = unsafe {
ASICamera2::ASIGetDataAfterExp(