Added API for multistate number-of-states
This commit is contained in:
@@ -193,7 +193,7 @@ static const char *state_name_by_index(const char *state_names, unsigned index)
|
||||
* @param object_instance - object-instance number of the object
|
||||
* @return number of states 1..N
|
||||
*/
|
||||
static uint32_t Multistate_Input_Max_States(uint32_t object_instance)
|
||||
uint32_t Multistate_Input_Max_States(uint32_t object_instance)
|
||||
{
|
||||
uint32_t count = 0;
|
||||
struct object_data *pObject;
|
||||
|
||||
Reference in New Issue
Block a user