Fixes the problem of Object properties references not being written. (#1235)

This commit is contained in:
GauiStori
2026-02-18 20:21:45 +01:00
committed by GitHub
parent b931226135
commit 44b230a068
+1 -1
View File
@@ -5205,7 +5205,7 @@ BACNET_ERROR_CODE bacnet_array_write(
for (index = 1; index <= array_size; index++) {
len = decode_function(
object_instance, &apdu[apdu_len], apdu_size - apdu_len);
if (len > 0) {
if (len >= 0) {
apdu_len += len;
} else {
error_code = ERROR_CODE_VALUE_OUT_OF_RANGE;