mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
-debugging output
This commit is contained in:
parent
3b5fa2d8e5
commit
cefaa38581
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: chameleon.c,v 1.1 2008/02/25 02:14:34 adamdunkels Exp $
|
* $Id: chameleon.c,v 1.2 2008/02/27 10:39:17 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -105,7 +105,7 @@ chameleon_input(void)
|
|||||||
struct channel *c;
|
struct channel *c;
|
||||||
PRINTF("%d.%d: chameleon_input\n",
|
PRINTF("%d.%d: chameleon_input\n",
|
||||||
rimeaddr_node_addr.u8[0],rimeaddr_node_addr.u8[1]);
|
rimeaddr_node_addr.u8[0],rimeaddr_node_addr.u8[1]);
|
||||||
printhdr(rimebuf_dataptr(), rimebuf_datalen());
|
/*printhdr(rimebuf_dataptr(), rimebuf_datalen());*/
|
||||||
c = header_module->input();
|
c = header_module->input();
|
||||||
if(c != NULL) {
|
if(c != NULL) {
|
||||||
PRINTF("%d.%d: chameleon_input channel %d\n",
|
PRINTF("%d.%d: chameleon_input channel %d\n",
|
||||||
@ -131,7 +131,7 @@ chameleon_output(struct channel *c)
|
|||||||
|
|
||||||
rimebuf_set_attr(RIMEBUF_ATTR_CHANNEL, c->channelno);
|
rimebuf_set_attr(RIMEBUF_ATTR_CHANNEL, c->channelno);
|
||||||
|
|
||||||
printhdr(rimebuf_hdrptr(), rimebuf_hdrlen());
|
/*printhdr(rimebuf_hdrptr(), rimebuf_hdrlen());*/
|
||||||
if(ret) {
|
if(ret) {
|
||||||
rime_output();
|
rime_output();
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user