]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/tda5250/mac/CsmaMacC.nc
solve dependencies on baudrate automagically
[tinyos-2.x.git] / tos / chips / tda5250 / mac / CsmaMacC.nc
index 7445c712217981a03d136a66eec9607758e34e7e..1b2cfba4db52ce624549e6c05e67f2bdba7f370a 100644 (file)
@@ -59,7 +59,9 @@ implementation {
       RssiFixedThresholdCMC as Cca,
       new Alarm32khz16C() as Timer,
       new TimerMilliC() as ReRxTimer,
-      McuSleepC,
+      DuplicateC,
+      TimeDiffC,
+      LocalTimeC,
       RandomLfsrC
 #ifdef MAC_DEBUG
       ,PlatformLedsC
@@ -67,8 +69,6 @@ implementation {
       ;
               
     MainC.SoftwareInit -> CsmaMacP;
-
-    McuSleepC.McuPowerOverride -> CsmaMacP;
     
     SplitControl = CsmaMacP;
     
@@ -99,7 +99,11 @@ implementation {
     CsmaMacP.Timer -> Timer;
 
     CsmaMacP.ReRxTimer -> ReRxTimer;
-    
+
+    CsmaMacP.Duplicate -> DuplicateC;
+    CsmaMacP.TimeDiff16 -> TimeDiffC;
+    CsmaMacP.LocalTime32kHz -> LocalTimeC;
+
 #ifdef MAC_DEBUG
     CsmaMacP.Led0 -> PlatformLedsC.Led0;
     CsmaMacP.Led1 -> PlatformLedsC.Led1;