Skip to content

Commit

Permalink
Fix conditionnals
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Mar 18, 2024
1 parent b289813 commit 9625c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/icd/server/ICDManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ bool ICDManager::CheckInMessagesWouldBeSent(std::function<RegistrationVerificati
}

// At least one registration would require a Check-In message
VerifyOrReturnValue(RegistrationVerifier(entry.fabricIndex, entry.monitoredSubject), true);
VerifyOrReturnValue(!RegistrationVerifier(entry.fabricIndex, entry.monitoredSubject), true);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/icd/server/ICDManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
#include <app/icd/server/ICDServerConfig.h>

#if CHIP_CONFIG_ENABLE_ICD_CIP
#include <app/SubscriptionsInfoProvider.h> // nogncheck
#include <app/icd/server/ICDCheckInSender.h> // nogncheck
#include <app/icd/server/ICDMonitoringTable.h> // nogncheck
#endif // CHIP_CONFIG_ENABLE_ICD_CIP

#include <app/SubscriptionsInfoProvider.h>
#include <app/icd/server/ICDConfigurationData.h>
#include <app/icd/server/ICDNotifier.h>
#include <app/icd/server/ICDStateObserver.h>
Expand Down

0 comments on commit 9625c19

Please sign in to comment.