1
0
Fork 0

Pass Wires-X DG-Id through unchanged.

ycs232-kbc
Jonathan Naylor 4 years ago
parent ebe32306c0
commit f488dc88e1

@ -491,8 +491,11 @@ int CDGIdGateway::run()
CYSFFICH fich; CYSFFICH fich;
bool valid = fich.decode(buffer + 35U); bool valid = fich.decode(buffer + 35U);
if (valid) { if (valid) {
unsigned char dgId = fich.getDGId();
if (dgId != WIRESX_DGID) {
fich.setDGId(i); fich.setDGId(i);
fich.encode(buffer + 35U); fich.encode(buffer + 35U);
}
rptNetwork.write(0U, buffer); rptNetwork.write(0U, buffer);

@ -19,6 +19,6 @@
#if !defined(VERSION_H) #if !defined(VERSION_H)
#define VERSION_H #define VERSION_H
const char* VERSION = "20201107"; const char* VERSION = "20201108";
#endif #endif

Loading…
Cancel
Save