mirror of
https://github.com/espressif/openthread.git
synced 2026-07-27 22:37:45 +00:00
[config] change macro define names for CSL feature (#4958)
This commit is contained in:
@@ -152,10 +152,10 @@ otError otMacFrameGenerateEnhAck(const otRadioFrame *aFrame,
|
||||
aIsFramePending, aIeData, aIeLength);
|
||||
}
|
||||
|
||||
#if OPENTHREAD_CONFIG_CSL_RECEIVER_ENABLE
|
||||
#if OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE
|
||||
void otMacFrameSetCslIe(otRadioFrame *aFrame, uint16_t aCslPeriod, uint16_t aCslPhase)
|
||||
{
|
||||
static_cast<Mac::Frame *>(aFrame)->SetCslIe(aCslPeriod, aCslPhase);
|
||||
}
|
||||
#endif // OPENTHREAD_CONFIG_CSL_RECEIVER_ENABLE
|
||||
#endif // OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE
|
||||
#endif // OPENTHREAD_CONFIG_MAC_HEADER_IE_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user