Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit ebabb5e

Browse files
authored
Merge pull request #426 from robszewczyk/bug/compilation-cleanup
Compile inlined IsMsgCounterSyncReqInProgress iff feature flag is ena…
2 parents c63e5a1 + c2ff32e commit ebabb5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/core/WeaveFabricState.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ class NL_DLL_EXPORT WeaveFabricState
623623
WEAVE_ERROR DeriveMsgEncAppKey(uint32_t keyId, uint8_t encType, WeaveMsgEncryptionKey & appKey, uint32_t& appGroupGlobalId);
624624
};
625625

626-
626+
#if WEAVE_CONFIG_USE_APP_GROUP_KEYS_FOR_MSG_ENC
627627
/**
628628
* This method returns true if at least one peer's message counter
629629
* synchronization request is in progress.
@@ -635,7 +635,7 @@ inline bool WeaveFabricState::IsMsgCounterSyncReqInProgress(void)
635635
{
636636
return (MsgCounterSyncStatus & kFlag_ReqInProgress) != 0;
637637
}
638-
638+
#endif
639639

640640

641641

0 commit comments

Comments
 (0)