Changed the cc2430 sleep_flag to uint8_t
This commit is contained in:
parent
fa5a38666b
commit
cb168da729
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue