ESP32: fix for crash when accessing tape

This commit is contained in:
folkert van heusden 2024-05-09 16:21:01 +02:00
parent 86ef8139f2
commit 2c8fdb4d04
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1
2 changed files with 5 additions and 1 deletions

View file

@ -44,6 +44,7 @@
#include "kw11-l.h"
#include "loaders.h"
#include "memory.h"
#include "tm-11.h"
#include "tty.h"
#include "utils.h"
#include "version.h"
@ -366,6 +367,9 @@ void setup() {
tty_ = new tty(cnsl, b);
b->add_tty(tty_);
Serial.println(F("* Adding TM-11"));
b->add_tm11(new tm_11(b));
Serial.println(F("* Starting KW11-L"));
b->getKW11_L()->begin(cnsl);

View file

@ -1,4 +1,4 @@
// (C) 2018-2023 by Folkert van Heusden
// (C) 2018-2024 by Folkert van Heusden
// Released under MIT license
#include <errno.h>