summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-03-24 17:53:52 -0700
committeriximeow <me@iximeow.net>2019-03-24 17:53:52 -0700
commit32de57a499b5cfb06ecc666025ef06550ac1204f (patch)
treea0aead25d46b52d40d2b270ba19d9ddfe549ba6c
parent78f8ef09534758dabac23fe70ffc60f073fdd42d (diff)
do not actually need to wait when reading from qhy
-rw-r--r--src/qhyccd/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qhyccd/mod.rs b/src/qhyccd/mod.rs
index 0967b7e..2de1b52 100644
--- a/src/qhyccd/mod.rs
+++ b/src/qhyccd/mod.rs
@@ -205,8 +205,8 @@ impl Camera {
let result = QHYCCDCam::ExpQHYCCDSingleFrame(self.handle);
match QHYCCDCam::QHYResult::from(result as u32) {
QHYResult::QHYCCD_SUCCESS => {
- println!("Didn't expect this result...");
- std::thread::sleep(std::time::Duration::from_millis(1000));
+// println!("Didn't expect this result...");
+// std::thread::sleep(std::time::Duration::from_millis(1000));
},
QHYResult::QHYCCD_READ_DIRECTLY => {
println!("Exp complete, example sleeps so i'll sleep too");