cc253x: use a uint8_t for sleep_flag

__bit variables must be located after the 0x20 address
This force the stack to start after 0x20, thus decrease
the stack size by a considerable amount.
This commit is contained in:
Philippe Rétornaz 2012-08-29 17:50:23 +02:00 committed by George Oikonomou
parent 44bcabe89c
commit 666ff6ca55
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
#define TICK_VAL (32768/128) /* 256 */
/*---------------------------------------------------------------------------*/
#if CLOCK_CONF_STACK_FRIENDLY
volatile __bit sleep_flag;
volatile uint8_t sleep_flag;
#else
#endif
/*---------------------------------------------------------------------------*/

View File

@ -40,7 +40,7 @@ PROCESS_NAME(viztool_process);
#endif
/*---------------------------------------------------------------------------*/
#if CLOCK_CONF_STACK_FRIENDLY
extern volatile __bit sleep_flag;
extern volatile uint8_t sleep_flag;
#endif
/*---------------------------------------------------------------------------*/
extern rimeaddr_t rimeaddr_node_addr;