Skip to content

Commit

Permalink
Change variables names - MMDVM_HS wines!
Browse files Browse the repository at this point in the history
  • Loading branch information
pjao committed Nov 16, 2017
1 parent ee6b54f commit a0392b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DMRNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ bool CDMRNetwork::writeConfig()
case HWT_DVMEGA:
software = "MMDVM_DVMega";
break;
case HWT_MMDVM_HSHAT:
software = "MMDVM_HSHat";
case HWT_MMDVM_HS:
software = "MMDVM_HS";
break;
default:
software = "MMDVM_Unknown";
Expand Down
2 changes: 1 addition & 1 deletion Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const unsigned char TAG_EOT = 0x03U;
enum HW_TYPE {
HWT_MMDVM,
HWT_DVMEGA,
HWT_MMDVM_HSHAT,
HWT_MMDVM_HS,
HWT_UNKNOWN
};

Expand Down
2 changes: 1 addition & 1 deletion Modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ bool CModem::readVersion()
else if (::memcmp(m_buffer + 4U, "DVMEGA", 6U) == 0)
m_hwType = HWT_DVMEGA;
else if (::memcmp(m_buffer + 4U, "ZUMspot", 7U) == 0)
m_hwType = HWT_MMDVM_HSHAT;
m_hwType = HWT_MMDVM_HS;

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

0 comments on commit a0392b1

Please sign in to comment.