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