From c790f304119387c1fadb3fb0750abb6f97b26356 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 6 Jul 2012 19:29:55 +0800 Subject: [PATCH] Modules/PS2KbMouse - Fixed lack of brackets in pl050 --- KernelLand/Modules/Input/PS2KbMouse/pl050.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KernelLand/Modules/Input/PS2KbMouse/pl050.c b/KernelLand/Modules/Input/PS2KbMouse/pl050.c index a8dd0743..6e05bb4a 100644 --- a/KernelLand/Modules/Input/PS2KbMouse/pl050.c +++ b/KernelLand/Modules/Input/PS2KbMouse/pl050.c @@ -111,7 +111,7 @@ static inline void PL050_WriteKeyboardData(Uint8 Data) return ; } - while( --timeout && gpPL050_KeyboardBase[1] & PL050_TXBUSY ); + while( --timeout && (gpPL050_KeyboardBase[1] & PL050_TXBUSY) ); if(timeout) gpPL050_KeyboardBase[2] = Data; else -- 2.20.1