summaryrefslogtreecommitdiff
path: root/src/qhyccd/QHYCCDCam.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-03-15 16:40:04 -0700
committeriximeow <me@iximeow.net>2019-03-15 16:40:04 -0700
commit64dbc9ccfebb46bb223655c385a4b8aa7fd64392 (patch)
tree8d7abdec92b1cb7d94963a56e3ea06ee69df8c59 /src/qhyccd/QHYCCDCam.rs
parent7ab1ab5f8d923eceda77e0913900a5abec4b4c15 (diff)
cancel any existing exposure/readout operation on camera connection
Diffstat (limited to 'src/qhyccd/QHYCCDCam.rs')
-rw-r--r--src/qhyccd/QHYCCDCam.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qhyccd/QHYCCDCam.rs b/src/qhyccd/QHYCCDCam.rs
index 6194835..37deef9 100644
--- a/src/qhyccd/QHYCCDCam.rs
+++ b/src/qhyccd/QHYCCDCam.rs
@@ -115,6 +115,7 @@ extern "C" {
imagew: *mut os::raw::c_int, imageh: *mut os::raw::c_int,
pixelw: *mut os::raw::c_double, pixelh: *mut os::raw::c_double,
bpp: *mut os::raw::c_int) -> os::raw::c_int;
+ pub fn CancelQHYCCDExposingAndReadout(handle: *mut os::raw::c_void) -> os::raw::c_int;
pub fn ControlQHYCCDTemp(handle: *mut os::raw::c_void, target: os::raw::c_double) -> os::raw::c_int;
pub fn SetQHYCCDDebayerOnOff(handle: *mut os::raw::c_void, onoff: os::raw::c_int) -> os::raw::c_int;
pub fn SetQHYCCDBinMode(handle: *mut os::raw::c_void, wbin: os::raw::c_int, hbin: os::raw::c_int) -> os::raw::c_int;