[wip] setRec bypass if there is no change

parent ebd7cd2f
Pipeline #12269 failed with stages
in 2 minutes and 16 seconds
......@@ -351,7 +351,13 @@ const char *Camera::_pco_SetRecordingState(int state, int &err)
usElapsedTimeSet(usStart);
#endif
// if(wRecState_new == wRecState_actual) {error = 0; return fnId; }
if (wRecState_new == wRecState_actual)
{
DEB_TRACE() << " SetRecordingState - BYPASSED "
<< DEB_VAR2(wRecState_new, wRecState_actual);
error = 0;
return fnId;
}
// ------------------------------------------ cancel images
if (wRecState_new == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment