Modules/PS2KbMouse - (minor) Cleanup 8042 driver a little
[tpg/acess2.git] / 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