mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-06-11 09:29:40 +00:00
Added tot_len to debug message.
This commit is contained in:
parent
92b3c41b04
commit
413aa79818
|
@ -426,7 +426,7 @@ static struct pbuf *cs8900_input(struct netif *netif)
|
|||
{
|
||||
for (q = p; q != 0; q = q->next)
|
||||
{
|
||||
DEBUGF(NETIF_DEBUG, ("cs8900_input: pbuf @%p len %u\n", q, q->len));
|
||||
DEBUGF(NETIF_DEBUG, ("cs8900_input: pbuf @%p tot_len %u len %u\n", q, q->tot_len, q->len));
|
||||
ptr = q->payload;
|
||||
// TODO: CHECK: what if q->len is odd? we don't use the last byte?
|
||||
for (i = 0; i < (q->len + 1) / 2; i++)
|
||||
|
|
Loading…
Reference in New Issue
Block a user