Skip to content

Commit

Permalink
Fix comment typos
Browse files Browse the repository at this point in the history
Co-authored-by: Junior Martinez <[email protected]>
  • Loading branch information
mkardous-silabs and jmartinez-silabs authored Jan 30, 2024
1 parent ad39c05 commit f48be4c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/InteractionModelEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void InteractionModelEngine::ShutdownMatchingSubscriptions(const Optional<Fabric
}
#endif // CHIP_CONFIG_ENABLE_READ_CLIENT

bool InteractionModelEngine::SubjectHasActiveSubcription(const FabricIndex & aFabricIndex, const NodeId & subjectID)
bool InteractionModelEngine::SubjectHasActiveSubscription(const FabricIndex & aFabricIndex, const NodeId & subjectID)
{
bool isActive = false;
mReadHandlers.ForEachActiveObject([aFabricIndex, subjectID, &isActive](ReadHandler * handler) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/InteractionModelEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class InteractionModelEngine : public Messaging::UnsolicitedMessageHandler,

CHIP_ERROR ResumeSubscriptions();

bool SubjectHasActiveSubcription(const FabricIndex & aFabricIndex, const NodeId & subject) override;
bool SubjectHasActiveSubscription(const FabricIndex & aFabricIndex, const NodeId & subject) override;

bool SubjectHasPersistedSubscription(const FabricIndex & aFabricIndex, const NodeId & subject) override;

Expand Down
2 changes: 1 addition & 1 deletion src/app/SubscriptionManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SubscriptionManager
* @return true subject has at least one active subscription with the device
* false subject doesn't have any acitve subscription with the device
*/
virtual bool SubjectHasActiveSubcription(const FabricIndex & aFabricIndex, const NodeId & subject) = 0;
virtual bool SubjectHasActiveSubscription(const FabricIndex & aFabricIndex, const NodeId & subject) = 0;

/**
* @brief Check if a given subject (CAT or operational NodeId) has at least 1 persisted subscription.
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/TestICDManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class TestICDManager
// Set FeatureMap - Configures CIP, UAT and LITS to 1
ctx->mICDManager.SetTestFeatureMapValue(0x07);

// Set that there are not matching subscriptions
// Set that there are no matching subscriptions
ctx->mSubManager.SetReturnValue(false);

// Set New durations for test case
Expand Down

0 comments on commit f48be4c

Please sign in to comment.