Skip to content

Commit

Permalink
Merge branch 'master' into M17_AX25_FM
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Nov 9, 2020
2 parents a57397e + a42e8f7 commit d1942fc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions DMRNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,9 @@ bool CDMRNetwork::writeConfig()
case HWT_OPENGD77_HS:
software = "MMDVM_OpenGD77_HS";
break;
case HWT_SKYBRIDGE:
software = "MMDVM_SkyBridge";
break;
default:
software = "MMDVM_Unknown";
break;
Expand Down
1 change: 1 addition & 0 deletions Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ enum HW_TYPE {
HWT_D2RG_MMDVM_HS,
HWT_MMDVM_HS,
HWT_OPENGD77_HS,
HWT_SKYBRIDGE,
HWT_UNKNOWN
};

Expand Down
1 change: 0 additions & 1 deletion Modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
IModem::~IModem()
{
}

2 changes: 2 additions & 0 deletions SerialModem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1843,6 +1843,8 @@ bool CSerialModem::readVersion()
m_hwType = HWT_MMDVM_HS;
else if (::memcmp(m_buffer + 4U, "OpenGD77_HS", 11U) == 0)
m_hwType = HWT_OPENGD77_HS;
else if (::memcmp(m_buffer + 4U, "SkyBridge", 9U) == 0)
m_hwType = HWT_SKYBRIDGE;

LogInfo("MMDVM protocol version: %u, description: %.*s", m_buffer[3U], m_length - 4U, m_buffer + 4U);

Expand Down

0 comments on commit d1942fc

Please sign in to comment.