X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf2xx%2Flayers%2FTimeSyncMessageLayerC.nc;h=b1643522c8ef72280aa975d47ad550419cc3b889;hb=ec026c9e6d938b6ef34f8cc1d62386a7ee237860;hp=9853aeb2fc8affcb036466db6b5312afd78b7307;hpb=99bac95aefd1f5f04275c97503ed9bc222637110;p=tinyos-2.x.git diff --git a/tos/chips/rf2xx/layers/TimeSyncMessageLayerC.nc b/tos/chips/rf2xx/layers/TimeSyncMessageLayerC.nc index 9853aeb2..b1643522 100644 --- a/tos/chips/rf2xx/layers/TimeSyncMessageLayerC.nc +++ b/tos/chips/rf2xx/layers/TimeSyncMessageLayerC.nc @@ -69,14 +69,14 @@ implementation TimeSyncPacketMilli = TimeSyncMessageLayerP; // Ok, we use the AMSenderC infrastructure to avoid concurrent send clashes - components new AMSenderC(TIMESYNC_AMTYPE); + components new AMSenderC(AM_TIMESYNCMSG); TimeSyncMessageLayerP.SubAMSend -> AMSenderC; TimeSyncMessageLayerP.SubAMPacket -> AMSenderC; TimeSyncMessageLayerP.SubPacket -> AMSenderC; components ActiveMessageC; - TimeSyncMessageLayerP.SubReceive -> ActiveMessageC.Receive[TIMESYNC_AMTYPE]; - TimeSyncMessageLayerP.SubSnoop -> ActiveMessageC.Snoop[TIMESYNC_AMTYPE];; + TimeSyncMessageLayerP.SubReceive -> ActiveMessageC.Receive[AM_TIMESYNCMSG]; + TimeSyncMessageLayerP.SubSnoop -> ActiveMessageC.Snoop[AM_TIMESYNCMSG];; PacketTimeStampRadio = TimeSyncMessageLayerP; PacketTimeStampMilli = TimeSyncMessageLayerP;