From 9cb761930e158a159681194734f0d1b925ec2ed6 Mon Sep 17 00:00:00 2001 From: Andy Wortman Date: Fri, 15 Mar 2019 16:40:04 -0700 Subject: cancel any existing exposure/readout operation on camera connection --- src/qhyccd/QHYCCDCam.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qhyccd/QHYCCDCam.rs') 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; -- cgit v1.1