Converted u8_t to uint8_t and u16_t to uint16_t in the platforms directory.
Added "These names are deprecated, use C99 names" warnings the contiki-conf.h files that were missing it.
This commit is contained in:
parent
a561d20828
commit
680225e99d
57 changed files with 274 additions and 250 deletions
|
@ -76,17 +76,17 @@
|
|||
#include <avr/sleep.h>
|
||||
#include <dev/watchdog.h>
|
||||
|
||||
static u8_t count = 0;
|
||||
static u8_t seqno;
|
||||
static uint8_t count = 0;
|
||||
static uint8_t seqno;
|
||||
uip_ipaddr_t dest_addr;
|
||||
|
||||
#define MAX_CMD_LEN 20
|
||||
static struct{
|
||||
u8_t frame[MAX_CMD_LEN];
|
||||
u8_t ndx;
|
||||
u8_t len;
|
||||
u8_t cmd;
|
||||
u8_t done;
|
||||
uint8_t frame[MAX_CMD_LEN];
|
||||
uint8_t ndx;
|
||||
uint8_t len;
|
||||
uint8_t cmd;
|
||||
uint8_t done;
|
||||
} cmd;
|
||||
|
||||
#define UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN])
|
||||
|
@ -138,8 +138,8 @@ seqno++;
|
|||
|
||||
|
||||
uip_len = UIP_ICMPH_LEN + UIP_ICMP6_ECHO_REQUEST_LEN + UIP_IPH_LEN + PING6_DATALEN;
|
||||
UIP_IP_BUF->len[0] = (u8_t)((uip_len - 40) >> 8);
|
||||
UIP_IP_BUF->len[1] = (u8_t)((uip_len - 40) & 0x00FF);
|
||||
UIP_IP_BUF->len[0] = (uint8_t)((uip_len - 40) >> 8);
|
||||
UIP_IP_BUF->len[1] = (uint8_t)((uip_len - 40) & 0x00FF);
|
||||
|
||||
UIP_ICMP_BUF->icmpchksum = 0;
|
||||
UIP_ICMP_BUF->icmpchksum = ~uip_icmp6chksum();
|
||||
|
@ -262,13 +262,13 @@ ISR(TIMER2_COMPA_vect)
|
|||
#endif /* !AVR_CONF_USE32KCRYSTAL */
|
||||
|
||||
#if DEBUGSERIAL
|
||||
u8_t serialcount;
|
||||
uint8_t serialcount;
|
||||
char dbuf[30];
|
||||
#endif
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
extern uint16_t ledtimer;
|
||||
static u8_t
|
||||
static uint8_t
|
||||
raven_gui_loop(process_event_t ev, process_data_t data)
|
||||
{
|
||||
uint8_t i,activeconnections,radio_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue