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;