Changed the cc2430 sleep_flag to uint8_t

This commit is contained in:
George Oikonomou 2012-09-07 14:34:56 +01:00
parent fa5a38666b
commit cb168da729
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@
#define TICK_VAL (32768/128) /* 256 */ #define TICK_VAL (32768/128) /* 256 */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#if CLOCK_CONF_STACK_FRIENDLY #if CLOCK_CONF_STACK_FRIENDLY
volatile __bit sleep_flag; volatile uint8_t sleep_flag;
#endif #endif
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/* Used in sleep timer interrupt for calculating the next interrupt time */ /* Used in sleep timer interrupt for calculating the next interrupt time */

View file

@ -55,7 +55,7 @@ static __data int len;
#endif #endif
#if CLOCK_CONF_STACK_FRIENDLY #if CLOCK_CONF_STACK_FRIENDLY
extern volatile __bit sleep_flag; extern volatile uint8_t sleep_flag;
#endif #endif
extern rimeaddr_t rimeaddr_node_addr; extern rimeaddr_t rimeaddr_node_addr;