Corrects some leftover uncapitalized printfs which may cause some platforms
to crash.
This commit is contained in:
parent
8451a4198d
commit
071cfaf1cb
3 changed files with 25 additions and 22 deletions
|
@ -215,6 +215,7 @@ static volatile uint8_t contikimac_keep_radio_on = 0;
|
|||
static volatile unsigned char we_are_sending = 0;
|
||||
static volatile unsigned char radio_is_on = 0;
|
||||
|
||||
#undef DEBUG
|
||||
#define DEBUG 0
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
|
@ -304,7 +305,7 @@ schedule_powercycle(struct rtimer *t, rtimer_clock_t time)
|
|||
r = rtimer_set(t, RTIMER_TIME(t) + time, 1,
|
||||
(void (*)(struct rtimer *, void *))powercycle, NULL);
|
||||
if(r != RTIMER_OK) {
|
||||
printf("schedule_powercycle: could not set rtimer\n");
|
||||
PRINTF("schedule_powercycle: could not set rtimer\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -323,7 +324,7 @@ schedule_powercycle_fixed(struct rtimer *t, rtimer_clock_t fixed_time)
|
|||
r = rtimer_set(t, fixed_time, 1,
|
||||
(void (*)(struct rtimer *, void *))powercycle, NULL);
|
||||
if(r != RTIMER_OK) {
|
||||
printf("schedule_powercycle: could not set rtimer\n");
|
||||
PRINTF("schedule_powercycle: could not set rtimer\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue