check that next frame has large pulse_id than previous

This commit is contained in:
Dmitry Ozerov authored and Data Backend account committed 2021-06-07 08:44:52 +02:00
1 parent be206af5e2
commit 49397e8a2f
1 file changed
+1 -1
+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;