removed debug output
This commit is contained in:
parent
007d4a4001
commit
3e6113be72
|
@ -28,13 +28,12 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* @(#)$Id: cc2420.c,v 1.57 2010/06/24 09:28:38 nifi Exp $
|
* @(#)$Id: cc2420.c,v 1.58 2010/06/30 09:03:20 nifi Exp $
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* This code is almost device independent and should be easy to port.
|
* This code is almost device independent and should be easy to port.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
|
@ -83,6 +82,7 @@
|
||||||
|
|
||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
#include <stdio.h>
|
||||||
#define PRINTF(...) printf(__VA_ARGS__)
|
#define PRINTF(...) printf(__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define PRINTF(...) do {} while (0)
|
#define PRINTF(...) do {} while (0)
|
||||||
|
@ -379,7 +379,6 @@ cc2420_transmit(unsigned short payload_len)
|
||||||
we just started receiving a packet, so we drop the
|
we just started receiving a packet, so we drop the
|
||||||
transmission. */
|
transmission. */
|
||||||
RELEASE_LOCK();
|
RELEASE_LOCK();
|
||||||
printf("CC2420 Collission\n");
|
|
||||||
return RADIO_TX_COLLISION;
|
return RADIO_TX_COLLISION;
|
||||||
}
|
}
|
||||||
if(receive_on) {
|
if(receive_on) {
|
||||||
|
|
Loading…
Reference in a new issue