mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-04 13:57:43 +00:00
Pass Wires-X DG-Id through unchanged.
This commit is contained in:
parent
ebe32306c0
commit
f488dc88e1
2 changed files with 6 additions and 3 deletions
|
|
@ -491,8 +491,11 @@ int CDGIdGateway::run()
|
|||
CYSFFICH fich;
|
||||
bool valid = fich.decode(buffer + 35U);
|
||||
if (valid) {
|
||||
fich.setDGId(i);
|
||||
fich.encode(buffer + 35U);
|
||||
unsigned char dgId = fich.getDGId();
|
||||
if (dgId != WIRESX_DGID) {
|
||||
fich.setDGId(i);
|
||||
fich.encode(buffer + 35U);
|
||||
}
|
||||
|
||||
rptNetwork.write(0U, buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue