check that next frame has large pulse_id than previous

This commit is contained in:
Dmitry Ozerov
2021-06-07 08:43:25 +02:00
committed by Data Backend account
parent be206af5e2
commit 49397e8a2f
+1 -1
View File
@@ -51,7 +51,7 @@ int main (int argc, char *argv[]) {
bool bad_pulse_id = false;
if ( ( meta.frame_index != (frame_index_previous+1) ) ||
( (pulse_id-pulse_id_previous) < 0 ) ||
( (pulse_id-pulse_id_previous) <= 0 ) ||
( (pulse_id-pulse_id_previous) > 1000 ) ) {
bad_pulse_id = true;