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
commitab7e48b3bbab72f37a81c89f882261b214b2b1f7 (patch)
treea0aead25d46b52d40d2b270ba19d9ddfe549ba6c
parent76b66f519b16572baf22693594adc44c3ec5e4b0 (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");