resetPtpClock() should be called when a camera is an erroneous state.
The old implementation would also reset the PTP slave state, even when the camera was still setting up in the "Listening" state.
The PR makes sure, that the camera is truly reset if it ends up in the state "Faulty" or "Disabled"
Page 7 of this document has a float chart of the different states and transitions a PTP slave goes through.
resetPtpClock() should be called when a camera is an erroneous state. The old implementation would also reset the PTP slave state, even when the camera was still setting up in the "Listening" state.
The PR makes sure, that the camera is truly reset if it ends up in the state "Faulty" or "Disabled"
Page 7 of this document has a float chart of the different states and transitions a PTP slave goes through.