mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-01-26 17:54:14 +01:00
Restoring set config command length
This commit is contained in:
parent
97b4436796
commit
840462fafe
|
|
@ -189,7 +189,7 @@ void CSerialPort::getVersion()
|
|||
|
||||
uint8_t CSerialPort::setConfig(const uint8_t* data, uint8_t length)
|
||||
{
|
||||
if (length < 15U)
|
||||
if (length < 13U)
|
||||
return 4U;
|
||||
|
||||
bool ysfLoDev = (data[0U] & 0x08U) == 0x08U;
|
||||
|
|
|
|||
Loading…
Reference in a new issue