diff options
author | iximeow <me@iximeow.net> | 2019-03-15 19:09:40 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2019-03-15 19:09:40 -0700 |
commit | 39a4ce0dc9e55d488240d2e5a353f8e86dbb4a51 (patch) | |
tree | 1f930ccde1ebadf8dc13e8c17ddd373bff887757 /src/qhyccd/mod.rs | |
parent | 7dbe9921deaf57e9908ff95a806bcffd4bec7dd3 (diff) | |
parent | 3599379b5aadff8309e59a4dae6e834ba2511c84 (diff) |
Merge branch 'master' of 192.168.1.6:/toy/c/asi/calibration_collector
Diffstat (limited to 'src/qhyccd/mod.rs')
-rw-r--r-- | src/qhyccd/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qhyccd/mod.rs b/src/qhyccd/mod.rs index 4404ddb..a7fb784 100644 --- a/src/qhyccd/mod.rs +++ b/src/qhyccd/mod.rs @@ -64,6 +64,7 @@ pub fn acquire(camera_idx: i32) -> Result<Camera> { } check(QHYCCDCam::SetQHYCCDStreamMode(handle, 0))?; // 0 means single frame mode... check(QHYCCDCam::InitQHYCCD(handle))?; + check(QHYCCDCam::CancelQHYCCDExposingAndReadout(handle))?; Ok(Camera { handle: handle }) |