From b8cc7bf7392b2e2d5dcb5921993d82a8758a98b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Benedikt=20Kr=C3=BCger?= Date: Tue, 28 Jun 2011 15:59:06 +0200 Subject: [PATCH] ... --- drivers/net/mmnif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 5b608e8c..3cc2b18f 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -764,7 +764,7 @@ err_t mmnif_tx(struct netif* netif, struct pbuf* p) dest_intr = mmnif_read_rx_inv_intr(dest_ip); #ifdef DEBUG_MMNIF - DEBUGPRINTF("\n SEND 0x%.8X\n",(char*)mpb_start_address + (dest_ip -1)*mpb_size + 2 + pos * 1792); + DEBUGPRINTF("\n SEND 0x%.8X with length: %d\n",(char*)mpb_start_address + (dest_ip -1)*mpb_size + 2 + pos * 1792,p->tot_len +2); hex_dump(p->tot_len +2, p->payload); #endif @@ -979,7 +979,7 @@ static void mmnif_rx(struct netif* netif) #ifdef DEBUG_MMNIF - DEBUGPRINTF("\n RECIEVED - 0x%.8X\n",data + pos); + DEBUGPRINTF("\n RECIEVED - 0x%.8X with legth: %d\n",data + pos,length +2); hex_dump(length+2,data + pos); #endif