To process the last object in the object list

This commit is contained in:
koby3101
2017-03-02 10:39:10 +00:00
parent 60fdfcd04e
commit b51bd6bc5e
+1 -1
View File
@@ -2085,7 +2085,7 @@ void Device_local_reporting(
objects_count = Device_Object_List_Count();
/* loop for all objects */
for (idx = 1; idx < objects_count; idx++) {
for (idx = 1; idx <= objects_count; idx++) {
Device_Object_List_Identifier(idx, &object_type, &object_instance);
pObject = Device_Objects_Find_Functions(object_type);