summaryrefslogtreecommitdiff
path: root/src/core/ao_kalman.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-23 02:17:51 -0600
committerKeith Packard <keithp@keithp.com>2013-08-25 22:24:01 -0700
commit56911f27376b0fe91a464e369bb8aa1531b3c7dc (patch)
treeb525a8f527917355b758a1812692fd4a84578f7f /src/core/ao_kalman.c
parentcb844328322fd7d9f4dafb58b322257a70b347e6 (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_kalman.c')
-rw-r--r--src/core/ao_kalman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_kalman.c b/src/core/ao_kalman.c
index 59ffd8b2..762b2c0a 100644
--- a/src/core/ao_kalman.c
+++ b/src/core/ao_kalman.c
@@ -40,9 +40,9 @@ static __pdata int32_t ao_k_accel;
__pdata int16_t ao_height;
__pdata int16_t ao_speed;
__pdata int16_t ao_accel;
-__pdata int16_t ao_max_height;
+__xdata int16_t ao_max_height;
static __pdata int32_t ao_avg_height_scaled;
-__pdata int16_t ao_avg_height;
+__xdata int16_t ao_avg_height;
__pdata int16_t ao_error_h;
__pdata int16_t ao_error_h_sq_avg;