Merge pull request #368 from michatrautweiler/patch-1

return decoded value in any case
This commit is contained in:
Verkehrsrot 2019-05-24 16:03:30 +02:00 committed by GitHub
commit 4827dcc3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,6 @@ function Decoder(bytes, port) {
decoded.time = ((bytes[i++] << 24) | (bytes[i++] << 16) | (bytes[i++] << 8) | bytes[i++]);
decoded.timestatus = bytes[i++];
}
return decoded;
}
return decoded;
}