diff options
author | Keith Packard <keithp@keithp.com> | 2013-03-10 21:05:34 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-03-10 21:05:34 -0700 |
commit | 31c2760ee919a90e440d014d7d303707d863bdf6 (patch) | |
tree | 97db3590406210201fedff93df3911fccf92218e | |
parent | 8083aeb07167a1a68a168f16ac951b6de7b197ea (diff) |
altos: Fix up 'help' command for 8051
The help command was rewritten to avoid using printf, but the
rewrite used 'const' instead of the required '__code' to point at
constant strings.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/core/ao_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_cmd.c b/src/core/ao_cmd.c index 3182acb7..c0e1a6b5 100644 --- a/src/core/ao_cmd.c +++ b/src/core/ao_cmd.c @@ -310,7 +310,7 @@ help(void) __pdata uint8_t cmds; __pdata uint8_t cmd; __code struct ao_cmds * __pdata cs; - const char *h; + __code char *h; uint8_t e; for (cmds = 0; cmds < ao_ncmds; cmds++) { |