Fixed crash bug when using without an OLED LCD

This commit is contained in:
Stephen White 2018-07-16 19:40:42 +10:00
parent 9f0e610663
commit 30f1d4747e
1 changed files with 6 additions and 1 deletions

View File

@ -411,6 +411,10 @@ void InitialiseLCD()
}
screenLCD->RefreshScreen();
}
else
{
screenLCD = 0;
}
}
//void UpdateUartControls(bool refreshStatusDisplay, bool LED, bool Motor, bool ATN, bool DATA, bool CLOCK, u32 Track, u32 romIndex)
@ -1304,6 +1308,7 @@ extern "C"
IEC_Bus::Initialise();
if (screenLCD)
screenLCD->ClearInit(0);
#ifdef HAS_MULTICORE