From f2f8ade6994aa3a69fd08f19c4403ceb8cea295d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 6 Jul 2011 15:39:44 -0700 Subject: [PATCH] altos: Switch ao_stdio.c __data to __pdata Signed-off-by: Keith Packard --- src/ao.h | 4 ++-- src/ao_stdio.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ao.h b/src/ao.h index 1919a259..dade99bf 100644 --- a/src/ao.h +++ b/src/ao.h @@ -1311,8 +1311,8 @@ struct ao_stdio { }; extern __xdata struct ao_stdio ao_stdios[]; -extern __data int8_t ao_cur_stdio; -extern __data int8_t ao_num_stdios; +extern __pdata int8_t ao_cur_stdio; +extern __pdata int8_t ao_num_stdios; void flush(void); diff --git a/src/ao_stdio.c b/src/ao_stdio.c index 6b890832..c0138a30 100644 --- a/src/ao_stdio.c +++ b/src/ao_stdio.c @@ -24,8 +24,8 @@ #define AO_NUM_STDIOS (HAS_USB + PACKET_HAS_SLAVE + USE_SERIAL_STDIN) __xdata struct ao_stdio ao_stdios[AO_NUM_STDIOS]; -__data int8_t ao_cur_stdio; -__data int8_t ao_num_stdios; +__pdata int8_t ao_cur_stdio; +__pdata int8_t ao_num_stdios; void putchar(char c) -- 2.30.2