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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user