samd/main: Initialize readline on start up.

Somehow that was forgotten.
This commit is contained in:
robert-hh 2022-07-15 22:44:23 +02:00 committed by Damien George
parent 65f99e371d
commit 4cf527eb05
1 changed files with 4 additions and 0 deletions

View File

@ -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");