|
|
@ -213,8 +213,7 @@ int CYSFGateway::run()
|
|
|
|
for (;;) {
|
|
|
|
for (;;) {
|
|
|
|
unsigned char buffer[200U];
|
|
|
|
unsigned char buffer[200U];
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int len = rptNetwork.read(buffer);
|
|
|
|
while (rptNetwork.read(buffer) > 0U) {
|
|
|
|
if (len > 0U) {
|
|
|
|
|
|
|
|
watchdogTimer.start();
|
|
|
|
watchdogTimer.start();
|
|
|
|
|
|
|
|
|
|
|
|
CYSFFICH fich;
|
|
|
|
CYSFFICH fich;
|
|
|
@ -262,8 +261,7 @@ int CYSFGateway::run()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
len = m_netNetwork->read(buffer);
|
|
|
|
while (m_netNetwork->read(buffer) > 0U) {
|
|
|
|
if (len > 0U) {
|
|
|
|
|
|
|
|
if (networkEnabled && m_linked)
|
|
|
|
if (networkEnabled && m_linked)
|
|
|
|
rptNetwork.write(buffer);
|
|
|
|
rptNetwork.write(buffer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|