Use pause() rather than using tsleep() on a dummy variable.

This commit is contained in:
jhb 2007-02-27 17:19:33 +00:00
parent cedb987542
commit ba5df1ca42
2 changed files with 1 additions and 2 deletions

View File

@ -134,7 +134,6 @@ static void slhci_abort_xfer(usbd_xfer_handle, usbd_status);
static void slhci_device_clear_toggle(usbd_pipe_handle);
extern int usbdebug;
int slhci_dummy;
/* For root hub */
#define SLHCI_INTR_ENDPT (1)

View File

@ -43,7 +43,7 @@
#define MS_TO_TICKS(ms) ((ms) * hz / 1000)
#define delay_ms(X) \
tsleep(&slhci_dummy, PRIBIO, "slhci", MS_TO_TICKS(X))
pause("slhci", MS_TO_TICKS(X))
#define SL11_PID_OUT (0x1)
#define SL11_PID_IN (0x9)