Merge pull request #368 from michatrautweiler/patch-1
return decoded value in any case
This commit is contained in:
commit
4827dcc3e9
@ -81,7 +81,6 @@ function Decoder(bytes, port) {
|
|||||||
decoded.time = ((bytes[i++] << 24) | (bytes[i++] << 16) | (bytes[i++] << 8) | bytes[i++]);
|
decoded.time = ((bytes[i++] << 24) | (bytes[i++] << 16) | (bytes[i++] << 8) | bytes[i++]);
|
||||||
decoded.timestatus = bytes[i++];
|
decoded.timestatus = bytes[i++];
|
||||||
}
|
}
|
||||||
return decoded;
|
|
||||||
}
|
}
|
||||||
|
return decoded;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user