This commit is contained in:
Carl-Benedikt Krüger 2011-06-28 15:59:06 +02:00
parent 692728500c
commit b8cc7bf739

View file

@ -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