Updated current fallback_interface(s) to return int.
This commit is contained in:
parent
b3f6019924
commit
561e70b18e
6 changed files with 17 additions and 10 deletions
|
@ -84,7 +84,7 @@ init(void)
|
|||
slip_set_input_callback(slip_input_callback);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
static int
|
||||
output(void)
|
||||
{
|
||||
if(uip_ipaddr_cmp(&last_sender, &UIP_IP_BUF->srcipaddr)) {
|
||||
|
@ -95,6 +95,7 @@ output(void)
|
|||
PRINTF("SUT: %u\n", uip_len);
|
||||
slip_send();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
const struct uip_fallback_interface slip_interface = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue