diff options
| author | Keith Packard <keithp@keithp.com> | 2011-07-06 15:39:44 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-07-06 15:48:34 -0700 |
| commit | f2f8ade6994aa3a69fd08f19c4403ceb8cea295d (patch) | |
| tree | 70d02784c06171efb888dbebb03fa46b3550eefb /src | |
| parent | 9ba0da9247ea424a7a147aa85daae0d5e6316b81 (diff) | |
altos: Switch ao_stdio.c __data to __pdata
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/ao.h | 4 | ||||
| -rw-r--r-- | src/ao_stdio.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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) |
