Fixing null pointer access

This commit is contained in:
Alex
2023-03-08 04:55:58 +02:00
parent eb93510e53
commit 102da7b7ec

View File

@ -79,7 +79,12 @@ namespace Recovery
}
}
void RecoveryThreadWrapper() { RecoveryScreen->RecoveryThread(); }
void RecoveryThreadWrapper()
{
while (!RecoveryScreen)
CPU::Pause();
RecoveryScreen->RecoveryThread();
}
void RebootCommandThread()
{