fixed compiler warnings
This commit is contained in:
parent
3661ff242e
commit
c0cf69ecbd
3 changed files with 6 additions and 2 deletions
|
@ -43,7 +43,10 @@
|
|||
#include <stdio.h>
|
||||
#include "contiki.h"
|
||||
#include "serial-shell.h"
|
||||
#include "adxl345.h"
|
||||
#include "shell-ps.h"
|
||||
#include "shell-file.h"
|
||||
#include "shell-text.h"
|
||||
#include "dev/adxl345.h"
|
||||
|
||||
#define LED_INT_ONTIME CLOCK_SECOND/2
|
||||
#define ACCM_READ_INTERVAL CLOCK_SECOND
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "net/netstack.h"
|
||||
#include "net/mac/frame802154.h"
|
||||
#include "dev/button-sensor.h"
|
||||
#include "dev/adxl345.h"
|
||||
|
||||
#if WITH_UIP6
|
||||
#include "net/uip-ds6.h"
|
||||
|
|
|
@ -189,7 +189,7 @@ xmem_pread(void *_p, int size, unsigned long offset)
|
|||
return size;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static const char *
|
||||
static const unsigned char *
|
||||
program_page(unsigned long offset, const unsigned char *p, int nbytes)
|
||||
{
|
||||
const unsigned char *end = p + nbytes;
|
||||
|
|
Loading…
Reference in a new issue