summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-24 00:15:09 -0700
committerKeith Packard <keithp@keithp.com>2009-04-24 00:15:09 -0700
commitf155333ae18a25068644792e8940269d9fb28033 (patch)
tree9651c3510264d7bd554a09ffd518838c48aa9b16
parentf9c1c545c9dc11c3190a6cf7504883131fffce2f (diff)
Avoid ram from 0xfda2 through feff, its funky
-rw-r--r--Makefile2
-rw-r--r--ao.h2
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