diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-23 02:17:51 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-08-25 22:24:01 -0700 |
commit | 56911f27376b0fe91a464e369bb8aa1531b3c7dc (patch) | |
tree | b525a8f527917355b758a1812692fd4a84578f7f /src/core/ao_sample.h | |
parent | cb844328322fd7d9f4dafb58b322257a70b347e6 (diff) |
altos: Make TeleMini v2.0 fit
Mash lots of storage locations and code around to shrink stuff down to size
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_sample.h')
-rw-r--r-- | src/core/ao_sample.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_sample.h b/src/core/ao_sample.h index a2dac979..5bd29536 100644 --- a/src/core/ao_sample.h +++ b/src/core/ao_sample.h @@ -136,8 +136,8 @@ uint8_t ao_sample(void); extern __pdata int16_t ao_height; /* meters */ extern __pdata int16_t ao_speed; /* m/s * 16 */ extern __pdata int16_t ao_accel; /* m/s² * 16 */ -extern __pdata int16_t ao_max_height; /* max of ao_height */ -extern __pdata int16_t ao_avg_height; /* running average of height */ +extern __xdata int16_t ao_max_height; /* max of ao_height */ +extern __xdata int16_t ao_avg_height; /* running average of height */ extern __pdata int16_t ao_error_h; extern __pdata int16_t ao_error_h_sq_avg; |