+1
-1
@@ -1426,7 +1426,7 @@ bool bacapp_parse_application_data(BACNET_APPLICATION_TAG tag_number,
|
||||
}
|
||||
break;
|
||||
case BACNET_APPLICATION_TAG_OBJECT_ID:
|
||||
count = sscanf(argv, "%4d:%7d", &object_type, &instance);
|
||||
count = sscanf(argv, "%4d:%7u", &object_type, &instance);
|
||||
if (count == 2) {
|
||||
value->type.Object_Id.type = (uint16_t)object_type;
|
||||
value->type.Object_Id.instance = instance;
|
||||
|
||||
Reference in New Issue
Block a user