Made this similar to another device.c.

This commit is contained in:
skarg
2011-09-09 04:51:03 +00:00
parent 432145b766
commit afa68ab788
+2 -1
View File
@@ -126,8 +126,8 @@ static const int Device_Properties_Required[] = {
};
static const int Device_Properties_Optional[] = {
PROP_LOCATION,
PROP_DESCRIPTION,
PROP_LOCATION,
-1
};
@@ -618,6 +618,7 @@ bool Device_Object_Name_Copy(
{
struct my_object_functions *pObject = NULL;
bool found = false;
pObject = Device_Objects_Find_Functions(object_type);
if ((pObject != NULL) && (pObject->Object_Name != NULL)) {
found = pObject->Object_Name(object_instance, object_name);