Skip to content

Commit

Permalink
Also fix PW rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Oct 25, 2024
1 parent f4920ce commit 267b2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/common/pigweed/rpc_services/Attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class Attributes : public pw_rpc::nanopb::Attributes::Service<Attributes>
app::DataModel::ReadAttributeRequest request;
request.path = path;
request.operationFlags.Set(app::DataModel::OperationFlags::kInternal);
request.subjectDescriptor = subjectDescriptor;
request.subjectDescriptor = &subjectDescriptor;

std::optional<app::DataModel::ClusterInfo> info = provider->GetClusterInfo(path);
if (!info.has_value())
Expand Down

0 comments on commit 267b2c5

Please sign in to comment.