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 */
|
#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 */
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue