mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-07 03:24:14 +02:00
Add is_valid_frame logic
This commit is contained in:
@@ -88,6 +88,7 @@ bool ReplayH5Reader::get_frame(
|
||||
|
||||
if (metadata->pulse_id == 0) {
|
||||
// Signal that there is no frame at this pulse_id.
|
||||
metadata->pulse_id = pulse_id;
|
||||
return false;
|
||||
|
||||
}else if (metadata->pulse_id != pulse_id) {
|
||||
|
||||
Reference in New Issue
Block a user