removed printf's.
This commit is contained in:
parent
f9d24f0d24
commit
b4a8641dda
|
@ -272,7 +272,6 @@ int
|
||||||
cc1020_read(void *buf, unsigned short size)
|
cc1020_read(void *buf, unsigned short size)
|
||||||
{
|
{
|
||||||
unsigned len;
|
unsigned len;
|
||||||
printf("Read time: %lu\n", RTIMER_NOW());
|
|
||||||
|
|
||||||
if (cc1020_rxlen <= HDRSIZE)
|
if (cc1020_rxlen <= HDRSIZE)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -452,7 +451,6 @@ interrupt(UART0RX_VECTOR) cc1020_rxhandler(void)
|
||||||
DISABLE_RX_IRQ();
|
DISABLE_RX_IRQ();
|
||||||
CC1020_SET_OPSTATE(CC1020_RX | CC1020_RX_PROCESSING);
|
CC1020_SET_OPSTATE(CC1020_RX | CC1020_RX_PROCESSING);
|
||||||
_BIC_SR_IRQ(LPM3_bits);
|
_BIC_SR_IRQ(LPM3_bits);
|
||||||
printf("Poll time: %lu\n", RTIMER_NOW());
|
|
||||||
// call receiver to copy from buffer
|
// call receiver to copy from buffer
|
||||||
process_poll(&cc1020_receiver_process);
|
process_poll(&cc1020_receiver_process);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue