Fixed mis-formatted printfs
This commit is contained in:
parent
7bf4fa4bff
commit
78450aeab6
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ tcpip_handler(void)
|
|||
leds_on(LEDS_RED);
|
||||
len = uip_datalen();
|
||||
memcpy(buf, uip_appdata, len);
|
||||
PRINTF("%u bytes from [", len, *(uint16_t *)buf);
|
||||
PRINTF("%u bytes from [", len);
|
||||
PRINT6ADDR(&UIP_IP_BUF->srcipaddr);
|
||||
PRINTF("]:%u\n", UIP_HTONS(UIP_UDP_BUF->srcport));
|
||||
#if SERVER_REPLY
|
||||
|
|
|
@ -77,7 +77,7 @@ tcpip_handler(void)
|
|||
leds_on(LEDS_RED);
|
||||
len = uip_datalen();
|
||||
memcpy(buf, uip_appdata, len);
|
||||
PRINTF("%u bytes from [", len, *(uint16_t *)buf);
|
||||
PRINTF("%u bytes from [", len);
|
||||
PRINT6ADDR(&UIP_IP_BUF->srcipaddr);
|
||||
PRINTF("]:%u", UIP_HTONS(UIP_UDP_BUF->srcport));
|
||||
PRINTF(" V=%u", *buf);
|
||||
|
|
Loading…
Reference in a new issue