fixed error in IRQ detection on SX1506