X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2FDataP.nc;h=e20f9ffa3b5a1a49a10bceb92ee0027924aa9d76;hb=d0573ffd623b75029b406fb2f74fc1de5160e8ab;hp=4e951b0ea9398495eb46c5481c10ac92c99c9c11;hpb=4e123af010077900246c741bb14231338d98f450;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/DataP.nc b/tos/lib/mac/tkn154/DataP.nc index 4e951b0e..e20f9ffa 100644 --- a/tos/lib/mac/tkn154/DataP.nc +++ b/tos/lib/mac/tkn154/DataP.nc @@ -42,7 +42,7 @@ module DataP interface MCPS_DATA; interface MCPS_PURGE; } uses { - interface Get as IsSendingBeacons; + interface GetNow as IsSendingBeacons; interface FrameRx as CoordCapRx; interface FrameTx as DeviceCapTx; interface FrameTx as CoordCapTx; @@ -145,7 +145,7 @@ implementation // indirect transmission? } else if ((txOptions & TX_OPTIONS_INDIRECT) && - call IsSendingBeacons.get() && + call IsSendingBeacons.getNow() && (dstAddrMode >= ADDR_MODE_SHORT_ADDRESS)){ if (dstAddrMode == ADDR_MODE_SHORT_ADDRESS && dstAddr.shortAddress == 0xFFFF){ mhr[MHR_INDEX_FC1] &= ~FC1_ACK_REQUEST;