[Tinyos-2-commits] [tinyos-main] r5761 committed - taking out unneeded printf statements

tinyos-main at googlecode.com tinyos-main at googlecode.com
Wed Sep 21 10:04:03 PDT 2011


Revision: 5761
Author:   jeonggil.ko
Date:     Wed Sep 21 10:03:18 2011
Log:      taking out unneeded printf statements

http://code.google.com/p/tinyos-main/source/detail?r=5761

Modified:
   
/trunk/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc

=======================================
---  
/trunk/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc	 
Tue May 17 09:58:08 2011
+++  
/trunk/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc	 
Wed Sep 21 10:03:18 2011
@@ -41,7 +41,6 @@
  #include "Timer.h"
  #include "RadioCountToLeds.h"

-//#include "printf.h"
  /**
   * Implementation of the RadioCountToLeds application. RadioCountToLeds
   * maintains a 4Hz counter, broadcasting its value in an AM packet
@@ -136,8 +135,7 @@
      if (len != sizeof(radio_count_msg_t)) {return bufPtr;}
      else {
        radio_count_msg_t* rcm = (radio_count_msg_t*)payload;
-      //printf("counter: %d len: %d\n",rcm->counter, len);
-      //printfflush();
+
        if (rcm->counter & 0x1) {
  	call Leds.led0On();
        }


More information about the Tinyos-2-commits mailing list