Skip to content

Commit

Permalink
MMDVM protocol ver 2 hwType
Browse files Browse the repository at this point in the history
Repeater Builder ver 4 board
  • Loading branch information
es2ast authored Apr 16, 2022
1 parent 3e8cda2 commit 60b5e42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,8 @@ bool CModem::readVersion()
if (resp == RTM_OK && m_buffer[2U] == MMDVM_GET_VERSION) {
if (::memcmp(m_buffer + 4U, "MMDVM ", 6U) == 0)
m_hwType = HWT_MMDVM;
else if (::memcmp(m_buffer + 23U, "MMDVM ", 6U) == 0)
m_hwType = HWT_MMDVM;
else if (::memcmp(m_buffer + 4U, "DVMEGA", 6U) == 0)
m_hwType = HWT_DVMEGA;
else if (::memcmp(m_buffer + 4U, "ZUMspot", 7U) == 0)
Expand Down

0 comments on commit 60b5e42

Please sign in to comment.