Skip to content

Commit

Permalink
Update src/app/clusters/scenes-server/scenes-server.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: mkardous-silabs <[email protected]>
  • Loading branch information
lpbeliveau-silabs and mkardous-silabs authored Nov 8, 2023
1 parent 802d825 commit b382a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/clusters/scenes-server/scenes-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CHIP_ERROR UpdateLastConfiguredBy(HandlerContext & ctx, ResponseType resp)
}

// LastConfiguredBy is optional, so we don't want to fail the command if it fails to update
VerifyOrReturnValue((EMBER_ZCL_STATUS_SUCCESS == status || EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE == status), CHIP_NO_ERROR);
VerifyOrReturnValue(!(EMBER_ZCL_STATUS_SUCCESS == status || EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE == status), CHIP_NO_ERROR);
return AddResponseOnError(ctx, resp, status);
}

Expand Down

0 comments on commit b382a5b

Please sign in to comment.