mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 00:53:37 +08:00
minor: whitespace cleanups
This commit is contained in:
@@ -266,7 +266,7 @@ ethernetif_input(struct netif *netif)
|
||||
/* if no packet could be read, silently ignore this */
|
||||
if (p != NULL) {
|
||||
/* pass all packets to ethernet_input, which decides what packets it supports */
|
||||
if (netif->input(p, netif) != ERR_OK) {
|
||||
if (netif->input(p, netif) != ERR_OK) {
|
||||
LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_input: IP input error\n"));
|
||||
pbuf_free(p);
|
||||
p = NULL;
|
||||
|
||||
@@ -42,10 +42,10 @@
|
||||
/**
|
||||
* @defgroup slipif SLIP netif
|
||||
* @ingroup addons
|
||||
*
|
||||
*
|
||||
* This is an arch independent SLIP netif. The specific serial hooks must be
|
||||
* provided by another file. They are sio_open, sio_read/sio_tryread and sio_send
|
||||
*
|
||||
*
|
||||
* Usage: This netif can be used in three ways:\n
|
||||
* 1) For NO_SYS==0, an RX thread can be used which blocks on sio_read()
|
||||
* until data is received.\n
|
||||
|
||||
Reference in New Issue
Block a user