...
This commit is contained in:
parent
692728500c
commit
b8cc7bf739
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue