Enable example apps to bind to device 4194303 (#615)

This commit is contained in:
Steve Karg
2024-04-04 10:58:44 -05:00
committed by GitHub
parent 41c11b23d3
commit 0cebc83d88
24 changed files with 77 additions and 77 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ int main(int argc, char *argv[])
if (++argi < argc) {
device_id = strtol(argv[argi], NULL, 0);
if (device_id > BACNET_MAX_INSTANCE) {
fprintf(stderr, "device=%u - it must be less than %u\n",
fprintf(stderr, "device=%u - not greater than %u\n",
device_id, BACNET_MAX_INSTANCE);
return 1;
}
@@ -161,7 +161,7 @@ int main(int argc, char *argv[])
}
Device_Set_Object_Instance_Number(device_id);
if (target_device_object_instance > BACNET_MAX_INSTANCE) {
fprintf(stderr, "device-instance=%u - it must be less than %u\n",
fprintf(stderr, "device-instance=%u - not greater than %u\n",
target_device_object_instance, BACNET_MAX_INSTANCE);
return 1;
}