We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e60388a commit ac3d0d6Copy full SHA for ac3d0d6
cpp/src/command_classes/SwitchMultilevel.cpp
@@ -303,9 +303,9 @@ namespace OpenZWave
303
}
304
case ValueID_Index_SwitchMultiLevel::Duration:
305
{
306
- if (Internal::VC::ValueByte* value = static_cast<Internal::VC::ValueByte*>(GetValue(instance, ValueID_Index_SwitchMultiLevel::Duration)))
+ if (Internal::VC::ValueInt* value = static_cast<Internal::VC::ValueInt*>(GetValue(instance, ValueID_Index_SwitchMultiLevel::Duration)))
307
308
- value->OnValueRefreshed((static_cast<Internal::VC::ValueByte const*>(&_value))->GetValue());
+ value->OnValueRefreshed((static_cast<Internal::VC::ValueInt const*>(&_value))->GetValue());
309
value->Release();
310
311
res = true;
0 commit comments