From: John Hodge Date: Fri, 6 Jul 2012 11:29:55 +0000 (+0800) Subject: Modules/PS2KbMouse - Fixed lack of brackets in pl050 X-Git-Tag: rel0.15~611^2~43 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c790f304119387c1fadb3fb0750abb6f97b26356;p=tpg%2Facess2.git Modules/PS2KbMouse - Fixed lack of brackets in pl050 --- 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