mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2025-12-06 07:12:08 +01:00
Fix getStatus() reply length
This commit is contained in:
parent
82b62b9645
commit
d9a868eb10
|
|
@ -114,7 +114,7 @@ void CSerialPort::getStatus()
|
||||||
|
|
||||||
// Send all sorts of interesting internal values
|
// Send all sorts of interesting internal values
|
||||||
reply[0U] = MMDVM_FRAME_START;
|
reply[0U] = MMDVM_FRAME_START;
|
||||||
reply[1U] = 11U;
|
reply[1U] = 12U;
|
||||||
reply[2U] = MMDVM_GET_STATUS;
|
reply[2U] = MMDVM_GET_STATUS;
|
||||||
|
|
||||||
reply[3U] = 0x00U;
|
reply[3U] = 0x00U;
|
||||||
|
|
@ -177,7 +177,7 @@ void CSerialPort::getStatus()
|
||||||
else
|
else
|
||||||
reply[11U] = 0U;
|
reply[11U] = 0U;
|
||||||
|
|
||||||
writeInt(1U, reply, 11);
|
writeInt(1U, reply, 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSerialPort::getVersion()
|
void CSerialPort::getVersion()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue