mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-12-21 17:00:55 -05:00
Update ModeConv.cpp
Clean the buffer at EOT (clearing the last IMBE data). Patch against https://github.com/juribeparada/MMDVM_CM/issues/55
This commit is contained in:
parent
9f2b462fb7
commit
41c16857a1
@ -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];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user