Apts fix print frame
The printFrameFile
function used to store one frame per call. If we call it once per trigger that would be fine. But since we get occasional triggers on noise in our test pulse routine we end up with overflows of the ring buffer without this change. Now the fiction attempts to read until there is no more data in the buffer.