mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-05 19:07:41 +00:00
Target cooja: fixed funciton prototype of uip_driver_send
This commit is contained in:
parent
b0f21747e1
commit
5ac4c2c867
@ -45,7 +45,11 @@
|
||||
|
||||
/*--------------------------------------------------------------------*/
|
||||
uint8_t
|
||||
#if NETSTACK_CONF_WITH_IPV6
|
||||
uip_driver_send(const uip_lladdr_t *addr)
|
||||
#else
|
||||
uip_driver_send(void)
|
||||
#endif
|
||||
{
|
||||
packetbuf_copyfrom(&uip_buf[UIP_LLH_LEN], uip_len);
|
||||
|
||||
|
@ -41,7 +41,11 @@
|
||||
|
||||
#include "net/netstack.h"
|
||||
|
||||
#if NETSTACK_CONF_WITH_IPV6
|
||||
uint8_t uip_driver_send(const uip_lladdr_t *);
|
||||
#else
|
||||
uint8_t uip_driver_send(void);
|
||||
#endif
|
||||
|
||||
extern const struct network_driver uip_driver;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user