Added missing argument to irqWait