diff options
author | iximeow <me@iximeow.net> | 2019-03-24 17:53:52 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2019-03-24 17:53:52 -0700 |
commit | ab7e48b3bbab72f37a81c89f882261b214b2b1f7 (patch) | |
tree | a0aead25d46b52d40d2b270ba19d9ddfe549ba6c /src/qhyccd/mod.rs | |
parent | 76b66f519b16572baf22693594adc44c3ec5e4b0 (diff) |
do not actually need to wait when reading from qhy
Diffstat (limited to 'src/qhyccd/mod.rs')
-rw-r--r-- | src/qhyccd/mod.rs | 4 |
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"); |