[nrf52840] fix building with link raw enabled (#2820)

This commit is contained in:
Kamil Sroka
2018-06-22 09:23:12 -07:00
committed by Jonathan Hui
parent a7b3ac780a
commit aa48f4d7b7
+1 -1
View File
@@ -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();