]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Clearing extra debug printouts that snuck in
authorhiro <hiro>
Sat, 23 Jun 2007 03:38:50 +0000 (03:38 +0000)
committerhiro <hiro>
Sat, 23 Jun 2007 03:38:50 +0000 (03:38 +0000)
tos/lib/tossim/SerialActiveMessageC.nc

index 0bc2694bc630ce621d25b63140711bdff6828611..d436e355216b8dfb1ca4482d41dd573efd47aa57 100644 (file)
@@ -72,14 +72,7 @@ implementation {
   command error_t AMSend.send[am_id_t id](am_addr_t addr,
                                          message_t* amsg,
                                          uint8_t len) {
-    int i;
-    char* payload = call Packet.getPayload(amsg, NULL);
     dbg("Serial", "Serial: sending a packet of size %d\n", len);
-    for (i = 0; i < len; i++)
-      printf("%02x ", payload[i]);
-
-    printf("\n");
-
     return FAIL;
   }