From f155333ae18a25068644792e8940269d9fb28033 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 24 Apr 2009 00:15:09 -0700 Subject: [PATCH] Avoid ram from 0xfda2 through feff, its funky --- Makefile | 2 +- ao.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7bf2bee5..2a6b7adc 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CC=sdcc CFLAGS=--model-small --debug --opt-code-speed LDFLAGS=--out-fmt-ihx --code-loc 0x0000 --code-size 0x8000 \ - --xram-loc 0xf000 --xram-size 0xf00 --iram-size 0xff + --xram-loc 0xf000 --xram-size 0xda2 --iram-size 0xff INC = \ ao.h \ diff --git a/ao.h b/ao.h index 02810d05..b10f1b34 100644 --- a/ao.h +++ b/ao.h @@ -122,7 +122,7 @@ ao_timer_init(void); * ao_adc.c */ -#define AO_ADC_RING 128 +#define AO_ADC_RING 64 /* * One set of samples read from the A/D converter -- 2.30.2