ESP32: fix for crash when accessing tape
This commit is contained in:
parent
86ef8139f2
commit
2c8fdb4d04
2 changed files with 5 additions and 1 deletions
|
@ -44,6 +44,7 @@
|
||||||
#include "kw11-l.h"
|
#include "kw11-l.h"
|
||||||
#include "loaders.h"
|
#include "loaders.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
|
#include "tm-11.h"
|
||||||
#include "tty.h"
|
#include "tty.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
@ -366,6 +367,9 @@ void setup() {
|
||||||
tty_ = new tty(cnsl, b);
|
tty_ = new tty(cnsl, b);
|
||||||
b->add_tty(tty_);
|
b->add_tty(tty_);
|
||||||
|
|
||||||
|
Serial.println(F("* Adding TM-11"));
|
||||||
|
b->add_tm11(new tm_11(b));
|
||||||
|
|
||||||
Serial.println(F("* Starting KW11-L"));
|
Serial.println(F("* Starting KW11-L"));
|
||||||
b->getKW11_L()->begin(cnsl);
|
b->getKW11_L()->begin(cnsl);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// (C) 2018-2023 by Folkert van Heusden
|
// (C) 2018-2024 by Folkert van Heusden
|
||||||
// Released under MIT license
|
// Released under MIT license
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue