mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-26 07:50:44 +02:00
Write data onnly if needed
This commit is contained in:
@@ -67,7 +67,9 @@ int main (int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
cout << last_pulse_id << endl;
|
||||
if (last_pulse_id != 0) {
|
||||
cout << last_pulse_id << endl;
|
||||
}
|
||||
|
||||
if (pulse_id_buffer[999] != 0) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user