X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Ftda5250%2Fmac%2FSpeckMacDC.nc;fp=tos%2Fchips%2Ftda5250%2Fmac%2FSpeckMacDC.nc;h=590e59fc899ccfcd28df20139b9bd96d791ab7f2;hb=642abb41f3a44b7b9263c3fa0aabdaa1f9ebb803;hp=b58dc71c42ba19381a76848ad642db55d883e8de;hpb=0beb31d5cd50733c3c6314568368bbb8eed908d9;p=tinyos-2.x.git diff --git a/tos/chips/tda5250/mac/SpeckMacDC.nc b/tos/chips/tda5250/mac/SpeckMacDC.nc index b58dc71c..590e59fc 100644 --- a/tos/chips/tda5250/mac/SpeckMacDC.nc +++ b/tos/chips/tda5250/mac/SpeckMacDC.nc @@ -47,6 +47,9 @@ configuration SpeckMacDC { interface Packet; interface Sleeptime; interface ChannelCongestion; +#ifdef MAC_EVAL + interface MacEval; +#endif } uses { interface PhySend as PacketSend; @@ -111,6 +114,11 @@ implementation { SpeckMacDP.Led2 -> PlatformLedsC.Led2; SpeckMacDP.Led3 -> PlatformLedsC.Led3; */ + +#ifdef MAC_EVAL + MacEval = SpeckMacDP; +#endif + #ifdef SPECKMAC_DEBUG components new SerialDebugC() as SD; SpeckMacDP.SerialDebug -> SD;