Comment rewording and formatting

This commit is contained in:
George Oikonomou 2012-04-02 17:04:12 +01:00
parent ce17fa131c
commit 11a7f644ac
2 changed files with 8 additions and 8 deletions

View File

@ -44,14 +44,14 @@
/* Sleep timer runs on the 32k RC osc. */ /* Sleep timer runs on the 32k RC osc. */
/* One clock tick is 7.8 ms */ /* One clock tick is 7.8 ms */
#define TICK_VAL (32768/128) /* 256 */ #define TICK_VAL (32768/128) /* 256 */
/*---------------------------------------------------------------------------*/
/* Used in sleep timer interrupt for calculating the next interrupt time */
static unsigned long timer_value;
#if CLOCK_CONF_STACK_FRIENDLY #if CLOCK_CONF_STACK_FRIENDLY
volatile __bit sleep_flag; volatile __bit sleep_flag;
#else #else
#endif #endif
/*---------------------------------------------------------------------------*/
/* Used in sleep timer interrupt for calculating the next interrupt time */
static unsigned long timer_value;
static volatile __data clock_time_t count = 0; /* Uptime in ticks */ static volatile __data clock_time_t count = 0; /* Uptime in ticks */
static volatile __data clock_time_t seconds = 0; /* Uptime in secs */ static volatile __data clock_time_t seconds = 0; /* Uptime in secs */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -29,7 +29,7 @@
#define ENERGEST_CONF_ON 0 #define ENERGEST_CONF_ON 0
#endif #endif
/* Verbose Startup? Turning this off saves 700+ bytes of CODE in HOME */ /* Verbose Startup? Turning this off reduces our footprint a fair bit */
#define STARTUP_CONF_VERBOSE 0 #define STARTUP_CONF_VERBOSE 0
/* More CODE space savings by turning off process names */ /* More CODE space savings by turning off process names */
@ -37,9 +37,9 @@
/* /*
* UARTs: 1=>Enabled, 0=>Disabled. Default: Both Disabled (see uart.h) * UARTs: 1=>Enabled, 0=>Disabled. Default: Both Disabled (see uart.h)
* Disabling UART0 saves ~200 bytes of CODE. * Disabling UARTs reduces our CODE footprint
* Disabling UART1 saves ~500 bytes of CODE but also disables all debugging * Disabling UART1 also disables all debugging output.
* output. Should be used when nodes are meant to run on batteries * Should be used when nodes are meant to run on batteries
* *
* On N740, by enabling UART1, you are also enabling an ugly hack which aims * On N740, by enabling UART1, you are also enabling an ugly hack which aims
* to detect the USB connection during execution. It will then turn on/off * to detect the USB connection during execution. It will then turn on/off