diff --git a/DMRNetwork.cpp b/DMRNetwork.cpp index 2e9194919..0363ff4da 100644 --- a/DMRNetwork.cpp +++ b/DMRNetwork.cpp @@ -561,6 +561,9 @@ bool CDMRNetwork::writeConfig() case HWT_MMDVM_HS_HAT: software = "MMDVM_MMDVM_HS_Hat"; break; + case HWT_MMDVM_HS_DUAL_HAT: + software = "MMDVM_MMDVM_HS_Dual_Hat"; + break; case HWT_NANO_HOTSPOT: software = "MMDVM_Nano_hotSPOT"; break; diff --git a/Defines.h b/Defines.h index 55d5fdb08..b7e036ab7 100644 --- a/Defines.h +++ b/Defines.h @@ -39,6 +39,7 @@ enum HW_TYPE { HWT_DVMEGA, HWT_MMDVM_ZUMSPOT, HWT_MMDVM_HS_HAT, + HWT_MMDVM_HS_DUAL_HAT, HWT_NANO_HOTSPOT, HWT_MMDVM_HS, HWT_UNKNOWN diff --git a/Modem.cpp b/Modem.cpp index 8f6c56d28..43e1cc3a6 100644 --- a/Modem.cpp +++ b/Modem.cpp @@ -1022,6 +1022,8 @@ bool CModem::readVersion() m_hwType = HWT_MMDVM_ZUMSPOT; else if (::memcmp(m_buffer + 4U, "MMDVM_HS_Hat", 12U) == 0) m_hwType = HWT_MMDVM_HS_HAT; + else if (::memcmp(m_buffer + 4U, "MMDVM_HS_Dual_Hat", 17U) == 0) + m_hwType = HWT_MMDVM_HS_DUAL_HAT; else if (::memcmp(m_buffer + 4U, "Nano_hotSPOT", 12U) == 0) m_hwType = HWT_NANO_HOTSPOT; else if (::memcmp(m_buffer + 4U, "MMDVM_HS-", 9U) == 0)