[config] change macro define names for CSL feature (#4958)

This commit is contained in:
Li Cao
2020-05-13 14:40:49 -07:00
committed by GitHub
parent a272835196
commit e3acd17466
7 changed files with 19 additions and 20 deletions
+2 -2
View File
@@ -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