Made it compile again.
This commit is contained in:
parent
0bf8c95b79
commit
7904a7e294
1 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: xmac.c,v 1.4 2007/05/22 20:55:24 adamdunkels Exp $
|
* $Id: xmac.c,v 1.5 2007/05/22 22:10:30 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -184,7 +184,8 @@ powercycle(struct rtimer *t, void *ptr)
|
||||||
radio->off();
|
radio->off();
|
||||||
radio_is_on = 0;
|
radio_is_on = 0;
|
||||||
LEDS_OFF(LEDS_RED);
|
LEDS_OFF(LEDS_RED);
|
||||||
if(rtimer_set(t, RTIMER_TIME(t) + OFF_TIME, 1, powercycle, ptr)) {
|
if(rtimer_set(t, RTIMER_TIME(t) + OFF_TIME, 1,
|
||||||
|
(void (*)(struct rtimer *, void *))powercycle, ptr)) {
|
||||||
PRINTF("xmac: could not set long off rtimer\n");
|
PRINTF("xmac: could not set long off rtimer\n");
|
||||||
}
|
}
|
||||||
long_off = 0;
|
long_off = 0;
|
||||||
|
|
Loading…
Reference in a new issue