Skip to content

Commit

Permalink
Merge pull request #6 from ch-zacmo/patch-1
Browse files Browse the repository at this point in the history
Update KnxProtocol.js
  • Loading branch information
ekarak authored Sep 8, 2024
2 parents 56085af + bf93307 commit 31a58d3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/KnxProtocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,12 @@ KnxProtocol.define('KNXNetHeader', {
this.CEMI('cemi');
break;
default: {
KnxLog.get().warn(
'read KNXNetHeader: unhandled serviceType = %s',
KnxConstants.keyText('SERVICE_TYPE', hdr.service_type)
);
if (KnxProtocol.debug) {
KnxLog.get().warn(
'read KNXNetHeader: unhandled serviceType = %s',
KnxConstants.keyText('SERVICE_TYPE', hdr.service_type)
);
}
}
}
})
Expand Down

0 comments on commit 31a58d3

Please sign in to comment.