Fix logic in conditional statement inside sys_print

This commit is contained in:
Alex 2023-03-25 12:11:18 +02:00
parent 028115a1b0
commit ab64b9f3b0
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -54,7 +54,7 @@ static int sys_print(SyscallsFrame *Frame, char Char, int Index)
char ret = Display->Print(Char, Index, true);
#ifdef DEBUG
if (!Config.BootAnimation && Index != 0)
if (!Config.BootAnimation && Index == 0)
Display->SetBuffer(Index);
#endif
UNUSED(Frame);