mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Remove 250 length check
This commit is contained in:
parent
f18e253eac
commit
82c6f717cf
1 changed files with 0 additions and 6 deletions
|
|
@ -1853,12 +1853,6 @@ RESP_TYPE_MMDVM CModem::getResponse()
|
|||
if (ret == 0)
|
||||
return RTM_TIMEOUT;
|
||||
|
||||
if (m_buffer[1U] >= 250U) {
|
||||
LogError("Invalid length received from the modem - %u", m_buffer[1U]);
|
||||
m_offset = 0U;
|
||||
return RTM_ERROR;
|
||||
}
|
||||
|
||||
m_length = m_buffer[1U];
|
||||
m_offset = 2U;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue