Fix bug in CompassFile. Previous edge case where channel data file was empty needed to be updated for new case where channel data file only contains the header.

This commit is contained in:
Gordon McCann 2022-06-22 10:30:23 -04:00
parent 2b00d4e80c
commit 60970e52bb
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@ pics/
images/
build/
objs/
.vscode/
###file types to ignore###
*.swp

View File

@ -47,7 +47,7 @@ namespace EventBuilder {
m_file->seekg(0, std::ios_base::end);
m_size = m_file->tellg();
if(m_size == 0)
if(m_size == 2)
{
m_eofFlag = true;
}