--- a/v4l2driver.cpp 2021-02-07 20:14:52.594962726 +0100 +++ b/v4l2driver.cpp 2021-02-07 20:13:58.858124213 +0100 @@ -1395,8 +1395,8 @@ return; } - if ( PrimaryCCD.isExposing() ) - { + //if ( PrimaryCCD.isExposing() ) + //{ non_capture_frames = 0; if( !is_capturing ) { LOG_DEBUG("Skip frame, setup not complete yet" ); @@ -1611,19 +1611,20 @@ subframeCount, current_exposure.tv_sec, current_exposure.tv_usec); ExposureComplete(&PrimaryCCD); } - } + /*} else { non_capture_frames++; if( non_capture_frames > 10 ) { + */ /* If we arrive here, PrimaryCCD is not exposing anymore, we can't forward the frame and we can't be aborted neither, thus abort the exposure right now. * That issue can be reproduced when clicking the "Set" button on the "Main Control" tab while an exposure is running. * Note that the patch in StartExposure returning busy instead of error prevents the flow from coming here, so now it's only a safeguard. */ - IDLog("%s: frame received while not exposing, force-aborting capture\n", __FUNCTION__); + /* IDLog("%s: frame received while not exposing, force-aborting capture\n", __FUNCTION__); AbortExposure(); } - } + }*/ } bool V4L2_Driver::AbortExposure()