X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fkernel%2Fao_sample.h;h=fbef031d46129ab1039b186b7a3885144969e10d;hb=4775b1d9b50a8732d66a0ad3b73ff74901a8cb7f;hp=f89d6a4ced254e0c7723eb002503987590b73d3d;hpb=dacd4c70700041a018b1f8ba47f22071b9600eaf;p=fw%2Faltos diff --git a/src/kernel/ao_sample.h b/src/kernel/ao_sample.h index f89d6a4c..fbef031d 100644 --- a/src/kernel/ao_sample.h +++ b/src/kernel/ao_sample.h @@ -180,7 +180,9 @@ extern __xdata ao_v_t ao_max_height; /* max of ao_height */ extern __xdata ao_v_t ao_avg_height; /* running average of height */ extern __pdata ao_v_t ao_error_h; +#if !HAS_ACCEL extern __pdata ao_v_t ao_error_h_sq_avg; +#endif #if HAS_ACCEL extern __pdata ao_v_t ao_error_a;