return decoded value in any case
Fix plain decoder for TTN: Decoded value was not returned except for last case.
This commit is contained in:
parent
50b24d2e12
commit
5c9cf136f0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user