diff --git a/lib/bacnet-asn1.js b/lib/bacnet-asn1.js index 4972fa8a..6de8805e 100644 --- a/lib/bacnet-asn1.js +++ b/lib/bacnet-asn1.js @@ -1189,7 +1189,6 @@ var bacapp_decode_data = function(buffer, offset, maxLength, tagDataType, lenVal break; case baEnum.BacnetApplicationTags.BACNET_APPLICATION_TAG_BOOLEAN: value.value = lenValueType > 0 ? true : false; - value.len += lenValueType; break; case baEnum.BacnetApplicationTags.BACNET_APPLICATION_TAG_UNSIGNED_INT: result = decode_unsigned(buffer, offset, lenValueType);