bugfix in decoders plain & packed
This commit is contained in:
parent
985548e73e
commit
b9949d8eb9
@ -4,6 +4,8 @@
|
||||
function Decoder(bytes, port) {
|
||||
|
||||
var decoded = {};
|
||||
decoded.wifi = 0;
|
||||
decoded.ble = 0;
|
||||
|
||||
if (bytes.length === 0) {
|
||||
return {};
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
function Decoder(bytes, port) {
|
||||
var decoded = {};
|
||||
decoded.wifi = 0;
|
||||
decoded.ble = 0;
|
||||
|
||||
if (port === 1) {
|
||||
var i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user