Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx authored May 19, 2017
1 parent 6c5ab7e commit 3256cda
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions DMRDataHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3256cda

Please sign in to comment.