Modules/PS2KbMouse - Fixed lack of brackets in pl050
authorJohn Hodge <[email protected]>
Fri, 6 Jul 2012 11:29:55 +0000 (19:29 +0800)
committerJohn Hodge <[email protected]>
Fri, 6 Jul 2012 11:29:55 +0000 (19:29 +0800)
KernelLand/Modules/Input/PS2KbMouse/pl050.c

index a8dd074..6e05bb4 100644 (file)
@@ -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

UCC git Repository :: git.ucc.asn.au