diff options
author | Damien George <damien.p.george@gmail.com> | 2017-09-12 16:03:52 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-09-12 16:03:52 +1000 |
commit | da8c4c2653b5121070f8c2872aead79d67d28441 (patch) | |
tree | aad167f3cb5ba4234a00685e972e8ad0fa5eeb8b /py/builtinhelp.c | |
parent | b02be234e1981d42fc890bac5cc7cf3b7e05dfa8 (diff) |
py/builtinhelp: Change signature of help text var from pointer to array.
As a pointer (const char *) it takes up an extra word of storage which is
in RAM.
Diffstat (limited to 'py/builtinhelp.c')
-rw-r--r-- | py/builtinhelp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtinhelp.c b/py/builtinhelp.c index e10e48b7d..c9992906d 100644 --- a/py/builtinhelp.c +++ b/py/builtinhelp.c @@ -32,7 +32,7 @@ #if MICROPY_PY_BUILTINS_HELP -const char *mp_help_default_text = +const char mp_help_default_text[] = "Welcome to MicroPython!\n" "\n" "For online docs please visit http://docs.micropython.org/\n" |