Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjerryjohns committed Aug 25, 2022
1 parent 09fdff1 commit 166ebed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,11 @@ CHIP_ERROR DeviceController::Init(ControllerInitParams params)
mSystemState = params.systemState->Retain();
mState = State::Initialized;

ChipLogProgress(Controller, "Joined the fabric at index %d. Compressed fabric ID is: 0x" ChipLogFormatX64, GetFabricIndex(),
ChipLogValueX64(GetCompressedFabricId()));
if (GetFabricIndex() != kUndefinedFabricIndex)
{
ChipLogProgress(Controller, "Joined the fabric at index %d. Compressed fabric ID is: 0x" ChipLogFormatX64, GetFabricIndex(),
ChipLogValueX64(GetCompressedFabricId()));
}

return CHIP_NO_ERROR;
}
Expand Down

0 comments on commit 166ebed

Please sign in to comment.