mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
Merge pull request #239 from narspt/patch-26
set eot status bit for ysf last packet
This commit is contained in:
commit
f0cc8dcced
|
|
@ -803,8 +803,8 @@ bool CYsfProtocol::EncodeDvLastPacket(const CDvHeaderPacket &Header, CBuffer *Bu
|
||||||
Buffer->Append((uint8 *)sz, YSF_CALLSIGN_LENGTH);
|
Buffer->Append((uint8 *)sz, YSF_CALLSIGN_LENGTH);
|
||||||
// dest
|
// dest
|
||||||
Buffer->Append(dest, 10);
|
Buffer->Append(dest, 10);
|
||||||
// net frame counter
|
// eot status bit + net frame counter (<<1)
|
||||||
Buffer->Append((uint8)0x00);
|
Buffer->Append((uint8)0x01);
|
||||||
// FS
|
// FS
|
||||||
Buffer->Append((uint8 *)YSF_SYNC_BYTES, YSF_SYNC_LENGTH_BYTES);
|
Buffer->Append((uint8 *)YSF_SYNC_BYTES, YSF_SYNC_LENGTH_BYTES);
|
||||||
// FICH
|
// FICH
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue