mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 15:20:07 +00:00
[api] rename ChannelMaskPage0 to ChannelMask (#3665)
This commit is contained in:
committed by
Jonathan Hui
parent
a99816a225
commit
ce24abb7bb
@@ -1992,8 +1992,8 @@ OTNODEAPI int32_t OTCALL otNodeSetActiveDataset(otNode* aNode, uint64_t aTimesta
|
||||
|
||||
if (aChannelMask != 0)
|
||||
{
|
||||
aDataset.mChannelMaskPage0 = aChannelMask;
|
||||
aDataset.mComponents.mIsChannelMaskPage0Present = true;
|
||||
aDataset.mChannelMask = aChannelMask;
|
||||
aDataset.mComponents.mIsChannelMaskPresent = true;
|
||||
}
|
||||
|
||||
if (aMasterKey != NULL && strlen(aMasterKey) != 0)
|
||||
@@ -2144,8 +2144,8 @@ OTNODEAPI int32_t OTCALL otNodeSendActiveSet(otNode* aNode, uint64_t aActiveTime
|
||||
|
||||
if (aChannelMask != 0)
|
||||
{
|
||||
aDataset.mChannelMaskPage0 = aChannelMask;
|
||||
aDataset.mComponents.mIsChannelMaskPage0Present = true;
|
||||
aDataset.mChannelMask = aChannelMask;
|
||||
aDataset.mComponents.mIsChannelMaskPresent = true;
|
||||
}
|
||||
|
||||
if (aExtPanId != NULL && strlen(aExtPanId) != 0)
|
||||
|
||||
Reference in New Issue
Block a user