Skip to content

Commit

Permalink
Update examples/fabric-bridge-app/linux/ActionsServerCallbacks.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
yufengwangca and bzbarsky-apple authored May 3, 2024
1 parent 9277468 commit 4df9d3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/fabric-bridge-app/linux/ActionsServerCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ CHIP_ERROR ActionsAttrAccess::ReadEndpointListAttribute(EndpointId endpoint, Att

CHIP_ERROR ActionsAttrAccess::ReadSetupUrlAttribute(EndpointId endpoint, AttributeValueEncoder & aEncoder)
{
static const char SetupUrl[] = "https://example.com";
return aEncoder.Encode(chip::CharSpan::fromCharString(SetupUrl));
return aEncoder.Encode("https://example.com"_span);
}

CHIP_ERROR ActionsAttrAccess::ReadClusterRevision(EndpointId endpoint, AttributeValueEncoder & aEncoder)
Expand Down

0 comments on commit 4df9d3d

Please sign in to comment.