Skip to content

Commit 77e6189

Browse files
committed
Fix typo
1 parent 97b8560 commit 77e6189

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/chef/common/clusters/media-input/MediaInputManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ MediaInputManager::MediaInputManager(chip::EndpointId endpoint):mEndpoint(endpoi
3939
"High-Definition Multimedia Interface");
4040
mInputs.push_back(inputData3);
4141

42-
// Sync the attributes from delegate
42+
// Sync the attributes from attribute storage
4343
Status status = Attributes::CurrentInput::Get(endpoint, &mCurrentInput);
4444

4545
if (Status::Success != status) {

src/app/clusters/media-input-server/media-input-server.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ bool emberAfMediaInputClusterSelectInputCallback(app::CommandHandler * command,
178178
{
179179
CHIP_ERROR err = CHIP_NO_ERROR;
180180
EndpointId endpoint = commandPath.mEndpointId;
181-
Status status = Status::Failure;
181+
Status status = Status::Success;
182182

183183
auto & input = commandData.index;
184184

@@ -189,7 +189,6 @@ bool emberAfMediaInputClusterSelectInputCallback(app::CommandHandler * command,
189189
{
190190
status = Status::Failure;
191191
}
192-
193192
exit:
194193
if (err != CHIP_NO_ERROR)
195194
{

0 commit comments

Comments
 (0)