Skip to content

Commit

Permalink
[fix] getValueIdDescriptor OZWValueIdIndex type
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 14, 2019
1 parent 09a1d05 commit 7eaa12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ::std::string getValueIdDescriptor(OpenZWave::ValueID value)
snprintf(buffer, 32, "%d-%d-%d-%d", value.GetNodeId(), value.GetCommandClassId(), value.GetInstance(), value.GetIndex());
return ::std::string(buffer);
}
::std::string getValueIdDescriptor(uint8 node_id, uint8 class_id, OZWValueIdIndex instance, uint8 index)
::std::string getValueIdDescriptor(uint8 node_id, uint8 class_id, uint8 instance, OZWValueIdIndex index)
{
char buffer[32];
snprintf(buffer, 32, "%d-%d-%d-%d", node_id, class_id, instance, index);
Expand Down

0 comments on commit 7eaa12a

Please sign in to comment.