mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 09:57:47 +00:00
[nrf52840] fix building with link raw enabled (#2820)
This commit is contained in:
committed by
Jonathan Hui
parent
a7b3ac780a
commit
aa48f4d7b7
@@ -686,7 +686,7 @@ void nrf_802154_received_raw(uint8_t *p_data, int8_t power, uint8_t lqi)
|
||||
#if OPENTHREAD_ENABLE_RAW_LINK_API
|
||||
uint64_t timestamp = nrf5AlarmGetCurrentTime();
|
||||
receivedFrame->mInfo.mRxInfo.mMsec = timestamp / US_PER_MS;
|
||||
receivedFrame->mInfo.mRxInfo.mUsec = timestamp - receivedFrame->mMsec * US_PER_MS;
|
||||
receivedFrame->mInfo.mRxInfo.mUsec = timestamp - receivedFrame->mInfo.mRxInfo.mMsec * US_PER_MS;
|
||||
#endif
|
||||
|
||||
PlatformEventSignalPending();
|
||||
|
||||
Reference in New Issue
Block a user