Skip to content

Commit 4d13da8

Browse files
committed
fix: IRQ_LinkChg
1 parent b3790ee commit 4d13da8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

evrMrmApp/src/drvem.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,12 @@ EVRMRM::drain_fifo()
14251425
BITSET(NAT,32, base, Control, Control_fiforst);
14261426
}
14271427

1428+
if (status&(IRQ_LinkChg)) {
1429+
// clear fifo if link established
1430+
BITSET(NAT,32, base, Control, Control_fiforst);
1431+
printf("================= IRQ_LinkChg =============\n");
1432+
}
1433+
14281434
int iflags=epicsInterruptLock();
14291435

14301436
//*

0 commit comments

Comments
 (0)