Skip to content

Commit

Permalink
Fix Android TV-app Build (project-chip#22642)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdecenzo authored and isiu-apple committed Sep 16, 2022
1 parent dfcafaa commit 8470167
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/platform/linux/CommissionerMain.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ using chip::Transport::PeerAddress;
CHIP_ERROR CommissionerPairOnNetwork(uint32_t pincode, uint16_t disc, PeerAddress address);
CHIP_ERROR CommissionerPairUDC(uint32_t pincode, size_t index);

CHIP_ERROR InitCommissioner(uint16_t commissionerPort, uint16_t udcListenPort, chip::FabricId fabricId);
CHIP_ERROR InitCommissioner(uint16_t commissionerPort, uint16_t udcListenPort, chip::FabricId fabricId = chip::kUndefinedFabricId);
void ShutdownCommissioner();

DeviceCommissioner * GetDeviceCommissioner();
Expand Down
2 changes: 1 addition & 1 deletion src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2061,7 +2061,7 @@ void DeviceCommissioner::PerformCommissioningStep(DeviceProxy * proxy, Commissio
app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance();
app::ReadPrepareParams readParams(proxy->GetSecureSession().Value());

// NOTE: this array cannot have more than 9 entries, since 9 is what the spec requires as a minimum on servers
// NOTE: this array cannot have more than 9 entries, since the spec mandates that server only needs to support 9
app::AttributePathParams readPaths[9];
// Read all the feature maps for all the networking clusters on any endpoint to determine what is supported
readPaths[0] = app::AttributePathParams(app::Clusters::NetworkCommissioning::Id,
Expand Down

0 comments on commit 8470167

Please sign in to comment.