Clean up the frame processing for RF and network.

This commit is contained in:
Jonathan Naylor
2020-10-19 10:37:23 +01:00
parent d2bf8eb744
commit 28e013acb7
6 changed files with 197 additions and 55 deletions

View File

@@ -219,11 +219,6 @@ void CM17Network::clock(unsigned int ms)
return;
}
// EOT?
uint16_t fn = (buffer[38U] << 8) + (buffer[39U] << 0);
if ((fn & 0x8000U) == 0x8000U)
m_inId = 0U;
unsigned char c = length - 6U;
m_buffer.addData(&c, 1U);