Fixed bug #765.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@9708 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
9ad6cf0f0d
commit
5c5b387a02
|
@ -260,13 +260,17 @@ void sd_lld_stop(SerialDriver *sdp) {
|
|||
}
|
||||
|
||||
bool sd_lld_interrupt_pending(void) {
|
||||
bool b;
|
||||
bool b = false;
|
||||
|
||||
CH_IRQ_PROLOGUE();
|
||||
|
||||
b = connint(&SD1) || connint(&SD2) ||
|
||||
inint(&SD1) || inint(&SD2) ||
|
||||
outint(&SD1) || outint(&SD2);
|
||||
#if USE_WIN32_SERIAL1
|
||||
b |= connint(&SD1) || inint(&SD1) || outint(&SD1);
|
||||
#endif
|
||||
|
||||
#if USE_WIN32_SERIAL2
|
||||
b |= connint(&SD2) || inint(&SD2) || outint(&SD2);
|
||||
#endif
|
||||
|
||||
CH_IRQ_EPILOGUE();
|
||||
|
||||
|
|
Loading…
Reference in New Issue