]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/tda5250/mac/RedMacC.nc
increase link speed, keep intermediate state in case I have to backtrack
[tinyos-2.x.git] / tos / chips / tda5250 / mac / RedMacC.nc
index 2da8ffa6b5c3bd4b55dd5b57f0167ec5486c5ffc..483cd16d3e32b6766f4b0e4a38b45da1ab170c21 100644 (file)
@@ -36,7 +36,7 @@
 // #define REDMAC_DEBUG
 
 #ifdef REDMAC_PERFORMANCE
-#include <Performance.h>
+#include <PerformanceMsgs.h>
 #endif
 
 configuration RedMacC {
@@ -47,6 +47,9 @@ configuration RedMacC {
     interface Packet;
     interface Sleeptime;
     interface ChannelCongestion;
+#ifdef MAC_EVAL
+    interface MacEval;
+#endif
   }
   uses {
     interface PhySend as PacketSend;
@@ -107,6 +110,9 @@ implementation {
     RedMacP.Led2 -> PlatformLedsC.Led2;
     RedMacP.Led3 -> PlatformLedsC.Led3;
 */
+#ifdef MAC_EVAL
+    MacEval = RedMacP;
+#endif
 #ifdef REDMAC_DEBUG
     components new SerialDebugC() as SD;
     RedMacP.SerialDebug -> SD;
@@ -116,5 +122,10 @@ implementation {
     components new PerformanceC() as Perf;
     RedMacP.Performance -> Perf;
 #endif
+
+#ifdef DELTATIMEDEBUG
+    components DeltaTraceC;
+    RedMacP.DeltaTrace -> DeltaTraceC;
+#endif
 }