Remove unused code.

This commit is contained in:
Jonathan Naylor 2017-05-19 08:35:14 +01:00 committed by GitHub
parent 6c5ab7e49e
commit 3256cda0ee
1 changed files with 0 additions and 9 deletions

View File

@ -126,15 +126,6 @@ bool CDMRDataHeader::put(const unsigned char* bytes)
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;
}