Fixed compiled warnings
This commit is contained in:
parent
09f5b6d2f5
commit
7ed816840e
2 changed files with 6 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: shell-rime.c,v 1.4 2008/07/02 14:08:06 adamdunkels Exp $
|
* $Id: shell-rime.c,v 1.5 2008/07/03 09:52:15 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -505,7 +505,7 @@ static const struct uc_callbacks uc_callbacks = {recv_uc};
|
||||||
#endif /* WITH_DEBUG_COMMANDS */
|
#endif /* WITH_DEBUG_COMMANDS */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
static void
|
static void
|
||||||
recv_collect(rimeaddr_t *originator, u8_t seqno, u8_t hops)
|
recv_collect(const rimeaddr_t *originator, u8_t seqno, u8_t hops)
|
||||||
{
|
{
|
||||||
struct collect_msg *collect_msg;
|
struct collect_msg *collect_msg;
|
||||||
rtimer_clock_t latency;
|
rtimer_clock_t latency;
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: shell-sky.c,v 1.7 2008/07/02 14:14:37 adamdunkels Exp $
|
* $Id: shell-sky.c,v 1.8 2008/07/03 09:52:15 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -49,6 +49,8 @@
|
||||||
#include "dev/light.h"
|
#include "dev/light.h"
|
||||||
#include "dev/sht11.h"
|
#include "dev/sht11.h"
|
||||||
|
|
||||||
|
#include "cfs/cfs-coffee.h"
|
||||||
|
|
||||||
#include "net/rime/timesynch.h"
|
#include "net/rime/timesynch.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -390,7 +392,7 @@ PROCESS_THREAD(shell_powerconv_process, ev, data)
|
||||||
static void
|
static void
|
||||||
printpowergraph(struct power_msg *msg)
|
printpowergraph(struct power_msg *msg)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i;
|
||||||
unsigned long avg_power;
|
unsigned long avg_power;
|
||||||
unsigned long time;
|
unsigned long time;
|
||||||
char buf[MAX_POWERGRAPH];
|
char buf[MAX_POWERGRAPH];
|
||||||
|
|
Loading…
Add table
Reference in a new issue