Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit af99177

Browse files
committedJul 3, 2024·
Fix compile issues.
1 parent 60eebd5 commit af99177

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎src/app/ReadClient.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -435,10 +435,12 @@ CHIP_ERROR ReadClient::BuildDataVersionFilterList(DataVersionFilterIBs::Builder
435435
{
436436
// Packet is full, ignore the rest of the list
437437
aDataVersionFilterIBsBuilder.Rollback(backup);
438+
#if CHIP_PROGRESS_LOGGING
438439
ssize_t nonSkippedFilters = &filter - aDataVersionFilters.data();
439440
size_t skippedFilters = aDataVersionFilters.size() - static_cast<size_t>(nonSkippedFilters);
440441
ChipLogProgress(DataManagement, "Skipped encoding %lu out of %lu data version filters due to lack of space",
441442
static_cast<unsigned long>(skippedFilters), static_cast<unsigned long>(aDataVersionFilters.size()));
443+
#endif // CHIP_PROGRESS_LOGGING
442444
return CHIP_NO_ERROR;
443445
}
444446
else

‎src/darwin/Framework/CHIP/MTRDevice.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,7 @@ - (void)_setupSubscriptionWithReason:(NSString *)reason
24522452
readParams.mMinIntervalFloorSeconds = 0;
24532453
// Select a max interval based on the device's claimed idle sleep interval.
24542454
auto idleSleepInterval = std::chrono::duration_cast<System::Clock::Seconds32>(
2455-
session.Value()->GetRemoteMRPConfig().mIdleRetransTimeout);
2455+
session.Value()->GetRemoteMRPConfig().mIdleRetransTimeout);
24562456

24572457
auto maxIntervalCeilingMin = System::Clock::Seconds32(MTR_DEVICE_SUBSCRIPTION_MAX_INTERVAL_MIN);
24582458
if (idleSleepInterval < maxIntervalCeilingMin) {

0 commit comments

Comments
 (0)
Please sign in to comment.