exit_debugger():
* Only try to cancel the a transfer, if sUseUSBKeyboard is set. * Set the "_usbPipe" parameter. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42181 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -176,10 +176,13 @@ enter_debugger(void)
|
||||
static void
|
||||
exit_debugger(void)
|
||||
{
|
||||
// make sure a possibly pending transfer is canceled
|
||||
evaluate_debug_command("uhci_process_transfer cancel");
|
||||
if (sUseUSBKeyboard) {
|
||||
// make sure a possibly pending transfer is canceled
|
||||
set_debug_variable("_usbPipe", (uint64)sUSBPipe);
|
||||
evaluate_debug_command("uhci_process_transfer cancel");
|
||||
|
||||
sUseUSBKeyboard = false;
|
||||
sUseUSBKeyboard = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user