T hacks: minor bugfix: don't log more than once
In time_meas.c, when getting 0 for the event, we log delta time with previous 1 for the event. "start_valid" was not cleared, so receiving a second 0 without 1 in between may lead to wrong logging. Should not happen in practice, but still, little bug. (Note: we don't protect against streams of 1, but this case should also not happen.)
Showing
Please register or sign in to comment