Converted u8_t to uint8_t and u16_t to uint16_t in the examples directory.
This commit is contained in:
parent
efab964451
commit
a561d20828
17 changed files with 66 additions and 66 deletions
|
@ -75,10 +75,10 @@ static unsigned long lasttime;
|
|||
#define IPBUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
|
||||
|
||||
static void do_send(void);
|
||||
u8_t tapdev_send(void);
|
||||
uint8_t tapdev_send(void);
|
||||
|
||||
|
||||
u16_t
|
||||
uint16_t
|
||||
tapdev_poll(void)
|
||||
{
|
||||
fd_set fdset;
|
||||
|
@ -174,8 +174,8 @@ do_send(void)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#define DEBUG_PRINTF(...) printf(__VA_ARGS__)
|
||||
#define DEBUG_PRINT6ADDR(addr) DEBUG_PRINTF("%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x", ((u8_t *)addr)[0], ((u8_t *)addr)[1], ((u8_t *)addr)[2], ((u8_t *)addr)[3], ((u8_t *)addr)[4], ((u8_t *)addr)[5], ((u8_t *)addr)[6], ((u8_t *)addr)[7], ((u8_t *)addr)[8], ((u8_t *)addr)[9], ((u8_t *)addr)[10], ((u8_t *)addr)[11], ((u8_t *)addr)[12], ((u8_t *)addr)[13], ((u8_t *)addr)[14], ((u8_t *)addr)[15])
|
||||
u8_t
|
||||
#define DEBUG_PRINT6ADDR(addr) DEBUG_PRINTF("%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x.%02x", ((uint8_t *)addr)[0], ((uint8_t *)addr)[1], ((uint8_t *)addr)[2], ((uint8_t *)addr)[3], ((uint8_t *)addr)[4], ((uint8_t *)addr)[5], ((uint8_t *)addr)[6], ((uint8_t *)addr)[7], ((uint8_t *)addr)[8], ((uint8_t *)addr)[9], ((uint8_t *)addr)[10], ((uint8_t *)addr)[11], ((uint8_t *)addr)[12], ((uint8_t *)addr)[13], ((uint8_t *)addr)[14], ((uint8_t *)addr)[15])
|
||||
uint8_t
|
||||
tapdev_send(void)
|
||||
{
|
||||
struct uip_neighbor_addr *addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue