Bugfix/basic object features cleanup (#614)

* Fixed compile warnings in basic objects

* Added API for setting multi state text with null-terminated name lists in basic objects
This commit is contained in:
Steve Karg
2024-04-03 16:57:36 -05:00
committed by GitHub
parent 7520930dc1
commit 41c11b23d3
7 changed files with 197 additions and 0 deletions
+2
View File
@@ -78,6 +78,7 @@ static struct analog_input_descr *Analog_Input_Object(uint32_t object_instance)
return Keylist_Data(Object_List, object_instance);
}
#if defined(INTRINSIC_REPORTING)
/**
* @brief Gets an object from the list using its index in the list
* @param index - index of the object in the list
@@ -87,6 +88,7 @@ static struct analog_input_descr *Analog_Input_Object_Index(int index)
{
return Keylist_Data_Index(Object_List, index);
}
#endif
/* we simply have 0-n object instances. Yours might be */
/* more complex, and then you need validate that the */