1
0
Fork 0

Merge pull request #109 from juribeparada/master

Fix "polls lost" bug
ycs232-kbc
Jonathan Naylor 7 years ago committed by GitHub
commit fc0b4efa14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -246,10 +246,12 @@ int CYSFGateway::run()
for (;;) {
unsigned char buffer[200U];
memset(buffer, 0U, 200U);
while (rptNetwork.read(buffer) > 0U) {
CYSFFICH fich;
bool valid = fich.decode(buffer + 35U);
m_exclude = false;
if (valid) {
unsigned char fi = fich.getFI();
unsigned char dt = fich.getDT();

Loading…
Cancel
Save