mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 16:25:45 +08:00
Remove unused code.
This commit is contained in:
@@ -126,15 +126,6 @@ bool CDMRDataHeader::put(const unsigned char* bytes)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This may not be needed any longer
|
|
||||||
if (dpf == DPF_UDT && m_blocks == 0U) {
|
|
||||||
unsigned char format = m_data[1U] & 0x0FU;
|
|
||||||
if (format == UDTF_NMEA) {
|
|
||||||
LogDebug("DMR, fixing broken Tytera MD-390 GPS data block count");
|
|
||||||
m_blocks = 3U;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user