diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-02 22:01:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-09-02 22:01:52 -0700 |
commit | e2e449d5c23356e913f312de1fb2611a9dd5a352 (patch) | |
tree | 245c41e34cd44a0f6c5130919485c6a28c89583c /src/ao_log.c | |
parent | acea083d80e1ecc4287083519ea666964016b257 (diff) |
Remove bit-banging debug support from TM board builds
Our current TM boards don't have the wires to do bit-banging to
another cc1111 board, so it doesn't make sense to fill up their flash
with useless code (and the 'help' text with useless commands). Leave
this to the TI board until we have boards that can serve as debug dongles.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_log.c')
-rw-r--r-- | src/ao_log.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ao_log.c b/src/ao_log.c index 19bfdfb8..7945ace4 100644 --- a/src/ao_log.c +++ b/src/ao_log.c @@ -109,6 +109,9 @@ ao_log_dump_next(void) __xdata uint8_t ao_log_adc_pos; __xdata enum flight_state ao_log_state; +/* a hack to make sure that ao_log_records fill the eeprom block in even units */ +typedef uint8_t check_log_size[1-(256 % sizeof(struct ao_log_record))] ; + void ao_log(void) { |