diff options
| author | robert-hh <robert@hammelrath.com> | 2022-07-15 22:44:23 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-06 23:14:21 +1100 |
| commit | 4cf527eb05d9b9a93a92ec427e719bf81a8de305 (patch) | |
| tree | 6c689b0c12747a74fdf43acf41586b017f2f7e92 | |
| parent | 65f99e371d3459cdaca4ae01895e706ff93ab285 (diff) | |
samd/main: Initialize readline on start up.
Somehow that was forgotten.
| -rw-r--r-- | ports/samd/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/samd/main.c b/ports/samd/main.c index 889af4a1e..0f24e2382 100644 --- a/ports/samd/main.c +++ b/ports/samd/main.c @@ -29,6 +29,7 @@ #include "py/gc.h" #include "py/mperrno.h" #include "py/stackctrl.h" +#include "shared/readline/readline.h" #include "shared/runtime/gchelper.h" #include "shared/runtime/pyexec.h" #include "shared/runtime/softtimer.h" @@ -48,6 +49,9 @@ void samd_main(void) { gc_init(&_sheap, &_eheap); mp_init(); + // Initialise sub-systems. + readline_init0(); + // Execute _boot.py to set up the filesystem. pyexec_frozen_module("_boot.py"); |
