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 /ports/esp8266/help.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 'ports/esp8266/help.c')
| -rw-r--r-- | ports/esp8266/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp8266/help.c b/ports/esp8266/help.c index 2035cdd6c..0a851f4c4 100644 --- a/ports/esp8266/help.c +++ b/ports/esp8266/help.c @@ -26,7 +26,7 @@ #include "py/builtin.h" -const char *esp_help_text = +const char esp_help_text[] = "Welcome to MicroPython!\n" "\n" "For online docs please visit http://docs.micropython.org/en/latest/esp8266/ .\n" |
