Skip to content

Commit

Permalink
Clarified comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs committed Nov 23, 2023
1 parent 0114bb9 commit 43c3a08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/reporting/SynchronizedReportSchedulerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ void SynchronizedReportSchedulerImpl::TimerFired()

if (node->IsReportableNow(now))
{
// We assume we fired the timer early if no handler is reportable at the moment
// We set firedEarly false here because we assume we fired the timer early if no handler is reportable at the moment,
// which becomes false if we find a handler that is reportable
firedEarly = false;
node->SetEngineRunScheduled(true);
ChipLogProgress(DataManagement, "Handler: %p with min: 0x" ChipLogFormatX64 " and max: 0x" ChipLogFormatX64 "", (node),
Expand Down
1 change: 1 addition & 0 deletions src/app/tests/TestReadInteraction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2590,6 +2590,7 @@ void TestReadInteraction::TestSubscribeUrgentWildcardEvent(nlTestSuite * apSuite
// Should get those urgent events reported and the non urgent reported for synchronisation
NL_TEST_ASSERT(apSuite, delegate.mGotEventResponse);
NL_TEST_ASSERT(apSuite, nonUrgentDelegate.mGotEventResponse);
ctx.GetIOContext().DriveIO();
}
}

Expand Down

0 comments on commit 43c3a08

Please sign in to comment.