Merge remote-tracking branch 'origin/master' into bacnet-stack-1.1

This commit is contained in:
Steve Karg
2023-06-30 17:49:05 -05:00
2 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -3129,7 +3129,7 @@ int bacnet_array_encode(uint32_t object_instance,
/* encoded size is larger than APDU size */
apdu_len = BACNET_STATUS_ABORT;
} else {
for (index = 1; index < array_size; index++) {
for (index = 0; index < array_size; index++) {
len = encoder(object_instance, index, apdu);
if (apdu) {
apdu += len;