Skip to content

Commit

Permalink
Restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Oct 11, 2024
1 parent 8745564 commit d01a202
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/fabric-admin/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static_library("fabric-admin-utils") {
"commands/pairing/PairingCommand.cpp",
"commands/pairing/ToTLVCert.cpp",
"device_manager/BridgeSubscription.cpp",
"device_manager/BridgeSubscription.h",
"device_manager/BridgeSubscription.h",
"device_manager/DeviceManager.cpp",
"device_manager/DeviceManager.h",
"device_manager/DeviceSubscription.cpp",
Expand Down
8 changes: 3 additions & 5 deletions examples/fabric-admin/device_manager/DeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ namespace {
constexpr EndpointId kAggregatorEndpointId = 1;
constexpr uint16_t kWindowTimeout = 300;
constexpr uint16_t kIteration = 1000;
constexpr uint16_t kSubscribeMinInterval = 0;
constexpr uint16_t kSubscribeMaxInterval = 60;
constexpr uint16_t kAggragatorEndpointId = 1;
constexpr uint16_t kMaxDiscriminatorLength = 4095;

} // namespace
Expand Down Expand Up @@ -200,8 +197,9 @@ void DeviceManager::SubscribeRemoteFabricBridge()

if (error != CHIP_NO_ERROR)
{
ChipLogError(NotSpecified, "Failed to subscribe to the remote bridge (NodeId: %" PRIu64 "). Error: %" CHIP_ERROR_FORMAT,
mRemoteBridgeNodeId, error.Format());
ChipLogError(NotSpecified,
"Failed to subscribe to the remote bridge (NodeId: %" ChipLogFormatX64 "). Error: %" CHIP_ERROR_FORMAT,
ChipLogValueX64(mRemoteBridgeNodeId), error.Format());
return;
}
}
Expand Down

0 comments on commit d01a202

Please sign in to comment.