Skip to content

Commit

Permalink
Fix bug with CpuFileTrailer header writing
Browse files Browse the repository at this point in the history
  • Loading branch information
cescalara committed Apr 9, 2018
1 parent eebe23c commit 8faeb4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CPU/CPUsoftware/src/operations/DataAcquisition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ int DataAcquisition::CloseCpuRun(RunType run_type) {
clog << "info: " << logstream::info << "closing the cpu run file called " << this->CpuFile->path << std::endl;

/* set up the cpu file trailer */
cpu_file_trailer->header = BuildCpuTrailerHeader(CPU_FILE_TYPE, CPU_FILE_VER);
cpu_file_trailer->run_size = RUN_SIZE;
cpu_file_trailer->crc = this->RunAccess->GetChecksum();

Expand Down

0 comments on commit 8faeb4a

Please sign in to comment.