From cb168da7298365d0e8c9978767596567797a1592 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Fri, 7 Sep 2012 14:34:56 +0100 Subject: [PATCH] Changed the cc2430 sleep_flag to uint8_t --- cpu/cc2430/dev/clock.c | 2 +- platform/sensinode/contiki-sensinode-main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/cc2430/dev/clock.c b/cpu/cc2430/dev/clock.c index 619db2f93..8ca969056 100644 --- a/cpu/cc2430/dev/clock.c +++ b/cpu/cc2430/dev/clock.c @@ -46,7 +46,7 @@ #define TICK_VAL (32768/128) /* 256 */ /*---------------------------------------------------------------------------*/ #if CLOCK_CONF_STACK_FRIENDLY -volatile __bit sleep_flag; +volatile uint8_t sleep_flag; #endif /*---------------------------------------------------------------------------*/ /* Used in sleep timer interrupt for calculating the next interrupt time */ diff --git a/platform/sensinode/contiki-sensinode-main.c b/platform/sensinode/contiki-sensinode-main.c index d059c24f2..97f0fb359 100644 --- a/platform/sensinode/contiki-sensinode-main.c +++ b/platform/sensinode/contiki-sensinode-main.c @@ -55,7 +55,7 @@ static __data int len; #endif #if CLOCK_CONF_STACK_FRIENDLY -extern volatile __bit sleep_flag; +extern volatile uint8_t sleep_flag; #endif extern rimeaddr_t rimeaddr_node_addr;