We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3600a50 commit ce7d400Copy full SHA for ce7d400
examples/tv-app/android/java/LevelManager.cpp
@@ -83,6 +83,7 @@ void LevelManager::PostLevelChanged(chip::EndpointId endpoint, uint8_t value)
83
84
jboolean LevelManager::SetLevel(jint endpoint, jint value)
85
{
86
+ chip::DeviceLayer::StackLock stack;
87
chip::Protocols::InteractionModel::Status status = app::Clusters::LevelControl::Attributes::CurrentLevel::Set(
88
static_cast<chip::EndpointId>(endpoint), static_cast<uint8_t>(value));
89
return status == chip::Protocols::InteractionModel::Status::Success;
0 commit comments