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
@@ -81,6 +81,7 @@ static struct analog_value_descr *Analog_Value_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
@@ -90,6 +91,7 @@ static struct analog_value_descr *Analog_Value_Object_Index(int index)
{
return Keylist_Data_Index(Object_List, index);
}
#endif
/**
* @brief Determines if a given Analog Value instance is valid