Added API for multistate number-of-states

This commit is contained in:
Steve Karg
2024-04-04 17:09:51 -05:00
parent 5abdaf0916
commit e19cc0be1e
6 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -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;