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
commit78f8ef09534758dabac23fe70ffc60f073fdd42d (patch)
treeb21d3132cb212c3a1bd688c515e4f154f5e4a5a0
parent81f1d17725d5b7a5895db52175a671ffdf2aaad9 (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(