Skip to content

Commit

Permalink
submodule: bump third_party/openthread/repo from 130afd9 to `f4c223…
Browse files Browse the repository at this point in the history
…3` (#19961)
  • Loading branch information
jwhui authored and pull[bot] committed Jan 24, 2024
1 parent 6fd019c commit 8812980
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1492,8 +1492,13 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetw
otOperationalDataset activeDataset;
otError otErr = otDatasetGetActive(mOTInst, &activeDataset);
VerifyOrExit(otErr == OT_ERROR_NONE, err = MapOpenThreadError(otErr));
uint64_t activeTimestamp = activeDataset.mPendingTimestamp;
err = encoder.Encode(activeTimestamp);
#if OPENTHREAD_API_VERSION >= 219
uint64_t activeTimestamp = (activeDataset.mActiveTimestamp.mSeconds << 16) |
(activeDataset.mActiveTimestamp.mTicks << 1) | activeDataset.mActiveTimestamp.mAuthoritative;
#else
uint64_t activeTimestamp = activeDataset.mActiveTimestamp;
#endif
err = encoder.Encode(activeTimestamp);
}
}
break;
Expand All @@ -1505,8 +1510,13 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetw
otOperationalDataset activeDataset;
otError otErr = otDatasetGetActive(mOTInst, &activeDataset);
VerifyOrExit(otErr == OT_ERROR_NONE, err = MapOpenThreadError(otErr));
#if OPENTHREAD_API_VERSION >= 219
uint64_t pendingTimestamp = (activeDataset.mPendingTimestamp.mSeconds << 16) |
(activeDataset.mPendingTimestamp.mTicks << 1) | activeDataset.mPendingTimestamp.mAuthoritative;
#else
uint64_t pendingTimestamp = activeDataset.mPendingTimestamp;
err = encoder.Encode(pendingTimestamp);
#endif
err = encoder.Encode(pendingTimestamp);
}
}
break;
Expand Down
2 changes: 1 addition & 1 deletion third_party/openthread/repo
Submodule repo updated 186 files

0 comments on commit 8812980

Please sign in to comment.