From cd0d83a705c61bd2301f9df1c36a9ec1611893ba Mon Sep 17 00:00:00 2001 From: bg- Date: Tue, 24 Apr 2007 18:38:11 +0000 Subject: [PATCH] * Toggle led before returning. * Change printf. --- core/dev/cc2420_send_ip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/dev/cc2420_send_ip.c b/core/dev/cc2420_send_ip.c index c19b16883..b77e07c23 100644 --- a/core/dev/cc2420_send_ip.c +++ b/core/dev/cc2420_send_ip.c @@ -48,7 +48,8 @@ cc2420_send_ip(void) h.fc0 &= ~FC0_REQ_ACK; if (cc2420_send(&h, 10, &uip_buf[UIP_LLH_LEN], uip_len) < 0) { - printf("cc2420_send_ip too big uip_len=%d\n", uip_len); + printf("cc2420_send_ip failed uip_len=%d\n", uip_len); + leds_toggle(color); return UIP_FW_TOOLARGE; }