[csl] allow to configure the CSL auto synchronization (#6913)

This commit allows configuration of auto synchronisation of CSL,
with data poll mechanism.
This commit is contained in:
canisLupus1313
2021-08-12 10:51:21 -07:00
committed by GitHub
parent b6fb0f4f93
commit f99f206bea
4 changed files with 24 additions and 1 deletions
+6
View File
@@ -149,6 +149,12 @@ ifeq ($(CSL_RECEIVER),1)
COMMONCFLAGS += -DOPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=1
endif
ifeq ($(CSL_AUTO_SYNC),1)
COMMONCFLAGS += -DOPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=1
else ifeq ($(CSL_AUTO_SYNC),0)
COMMONCFLAGS += -DOPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=0
endif
ifeq ($(CSL_DEBUG),1)
COMMONCFLAGS += -DOPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE=1
endif