mirror of
https://github.com/espressif/openthread.git
synced 2026-09-03 07:40:10 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user