From ab7e48b3bbab72f37a81c89f882261b214b2b1f7 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 24 Mar 2019 17:53:52 -0700 Subject: do not actually need to wait when reading from qhy --- src/qhyccd/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qhyccd') 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"); -- cgit v1.1