X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Ftda5250%2Fmac%2FRedMacC.nc;fp=tos%2Fchips%2Ftda5250%2Fmac%2FRedMacC.nc;h=3421fe920cc7c9bf1e8fc1082b8cb325223649d4;hb=f139d40721e23194dd9e8f84e3652212ac990e36;hp=469fe5ce431e612f256471973fd93b5d3b44cff0;hpb=70cb09cabc3cc8d3af2e7ffdde302462b98b8d3f;p=tinyos-2.x.git diff --git a/tos/chips/tda5250/mac/RedMacC.nc b/tos/chips/tda5250/mac/RedMacC.nc index 469fe5ce..3421fe92 100644 --- a/tos/chips/tda5250/mac/RedMacC.nc +++ b/tos/chips/tda5250/mac/RedMacC.nc @@ -45,7 +45,6 @@ configuration RedMacC { interface MacSend; interface MacReceive; interface Packet; - interface LocalTime as LocalTime; interface Sleeptime; interface ChannelCongestion; } @@ -64,8 +63,7 @@ implementation { RssiFixedThresholdCMC as Cca, new Alarm32khz16C() as Timer, new Alarm32khz16C() as SampleTimer, - RandomLfsrC, - Counter32khz16C as Counter; + RandomLfsrC, LocalTimeC, DuplicateC; components ActiveMessageAddressC; RedMacP.amAddress -> ActiveMessageAddressC; @@ -78,7 +76,6 @@ implementation { Tda5250Control = RedMacP; UartPhyControl = RedMacP; RadioTimeStamping = RedMacP; - LocalTime = RedMacP; ChannelCongestion = RedMacP; RedMacP = PacketSend; @@ -98,7 +95,9 @@ implementation { RedMacP.Timer -> Timer; RedMacP.SampleTimer -> SampleTimer; - RedMacP.Counter32khz16 -> Counter; + RedMacP.LocalTime32kHz -> LocalTimeC; + + RedMacP.Duplicate -> DuplicateC; /* components PlatformLedsC; RedMacP.Led0 -> PlatformLedsC.Led0;