Merge pull request #56 from AndyTaylorTweet/master

Update ModeConv.cpp
This commit is contained in:
Andy CA6JAU 2021-02-10 09:17:09 -03:00 committed by GitHub
commit 9797ff554a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,6 +247,10 @@ unsigned int CModeConv::getYSF(unsigned char* data)
m_YSF.getData(tag, 1U);
m_YSF.getData(data, 11U);
m_ysfN -= 1U;
if(tag[0U] == TAG_EOT) {
m_YSF.clear();
m_ysfN = 0;
}
return tag[0U];
}
}