mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-27 15:42:24 +02:00
Make logic more explicit
This commit is contained in:
@@ -54,12 +54,12 @@ int main (int argc, char *argv[]) {
|
||||
pulse_id);
|
||||
|
||||
if (current_file != frame_file) {
|
||||
current_file = frame_file;
|
||||
|
||||
writer.close_file();
|
||||
|
||||
WriterUtils::create_destination_folder(frame_file);
|
||||
|
||||
writer.create_file(frame_file);
|
||||
current_file = frame_file;
|
||||
WriterUtils::create_destination_folder(current_file);
|
||||
writer.create_file(current_file);
|
||||
}
|
||||
|
||||
auto file_frame_index = get_file_frame_index(pulse_id);
|
||||
|
||||
Reference in New Issue
Block a user