diff options
author | Bdale Garbee <bdale@gag.com> | 2009-09-02 23:17:37 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2009-09-02 23:17:37 -0600 |
commit | cb4a73f3b65ba72f645fd37ab8712829c9537bf8 (patch) | |
tree | a3822a2709d715abd804674de7264fd1566fea40 /src/ao_log.c | |
parent | 9ddd8696b4004ccc03238d95a8c2a1d07075e0fb (diff) | |
parent | e2e449d5c23356e913f312de1fb2611a9dd5a352 (diff) |
Merge commit 'origin/master'
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) { |