Fixed crash bug when using without an OLED LCD
This commit is contained in:
parent
9f0e610663
commit
30f1d4747e
1 changed files with 6 additions and 1 deletions
|
@ -411,6 +411,10 @@ void InitialiseLCD()
|
||||||
}
|
}
|
||||||
screenLCD->RefreshScreen();
|
screenLCD->RefreshScreen();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
screenLCD = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//void UpdateUartControls(bool refreshStatusDisplay, bool LED, bool Motor, bool ATN, bool DATA, bool CLOCK, u32 Track, u32 romIndex)
|
//void UpdateUartControls(bool refreshStatusDisplay, bool LED, bool Motor, bool ATN, bool DATA, bool CLOCK, u32 Track, u32 romIndex)
|
||||||
|
@ -1304,7 +1308,8 @@ extern "C"
|
||||||
|
|
||||||
IEC_Bus::Initialise();
|
IEC_Bus::Initialise();
|
||||||
|
|
||||||
screenLCD->ClearInit(0);
|
if (screenLCD)
|
||||||
|
screenLCD->ClearInit(0);
|
||||||
|
|
||||||
#ifdef HAS_MULTICORE
|
#ifdef HAS_MULTICORE
|
||||||
start_core(3, _spin_core);
|
start_core(3, _spin_core);
|
||||||
|
|
Loading…
Reference in a new issue