]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/tda5250/mac/RedMacC.nc
removed bug that could stop the MAC from operating. Lesson re-learned:
[tinyos-2.x.git] / tos / chips / tda5250 / mac / RedMacC.nc
index 0a03aa56da9ab7a6d0d72520b638909147912e82..227372fe1d8e456e825543708f01d7d2b8229e83 100644 (file)
@@ -33,6 +33,7 @@
  * ========================================================================
  */
 
+// #define REDMAC_DEBUG
 
 configuration RedMacC {
   provides {
@@ -101,5 +102,9 @@ implementation {
     RedMacP.Led2 -> PlatformLedsC.Led2;
     RedMacP.Led3 -> PlatformLedsC.Led3;
 */
+#ifdef REDMAC_DEBUG
+    components new SerialDebugC() as SD;
+    RedMacP.SerialDebug -> SD;
+#endif
 }