Code complete, but untested.

This commit is contained in:
Jonathan Naylor
2020-06-11 10:02:11 +01:00
parent 121c76f3d8
commit c2959466fd
5 changed files with 131 additions and 12 deletions
+10
View File
@@ -61,6 +61,16 @@ m_fcs(0U)
{
}
bool CAX25Frame::append(uint16_t c)
{
if (m_length == AX25_MAX_PACKET_LEN)
return false;
m_data[m_length++] = uint8_t(c);
return true;
}
bool CAX25Frame::checkCRC()
{
union {