X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=KernelLand%2FModules%2FInput%2FPS2KbMouse%2Fpl050.c;h=6e05bb4a0523df7d117e653b0fe0fc11209e49cc;hb=12dead97026f98253325bb6fa90500c89f792d61;hp=a8dd074378626dc122e49855d4196148b9ea7eea;hpb=51ab5f489bc356940c95cc936fd0508e8f07ea97;p=tpg%2Facess2.git 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