]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf230/DefaultMacC.nc
fixing TimeSyncMessage for the IRIS
[tinyos-2.x.git] / tos / chips / rf230 / DefaultMacC.nc
index 2143adc35a34ce0f7825140b587098f0ac2815eb..9db81a0d8d8bb60793c206b9a1ed87a54de46cc4 100644 (file)
@@ -39,6 +39,8 @@ configuration DefaultMacC
 
                interface PacketField<uint8_t> as PacketLinkQuality;
                interface PacketTimeStamp<TRF230, uint16_t>;
+
+               interface PacketLastTouch;
        }
 }
 
@@ -60,6 +62,9 @@ implementation
        PacketLinkQuality = DefaultPacketC.PacketLinkQuality;
        PacketTimeStamp = DefaultPacketC.PacketTimeStamp;
 
+       PacketLastTouch = DefaultPacketC;
+       RF230LayerC.lastTouch -> DefaultPacketC.lastTouch;
+
        components ActiveMessageLayerC;
        components MessageBufferLayerC;
        components UniqueLayerC;