Bug fix release
Fork of MODSERIAL by
Diff: PUTC.cpp
- Revision:
- 9:b3cdae80e7a9
- Parent:
- 8:775f860e94d3
- Child:
- 12:8c7394e2ae7f
--- a/PUTC.cpp Mon Nov 22 09:58:34 2010 +0000 +++ b/PUTC.cpp Tue Nov 23 21:34:54 2010 +0000 @@ -37,7 +37,7 @@ return 0; } - if ( MODSERIAL_THR_HAS_SPACE && MODSERIAL_TX_BUFFER_EMPTY ) { + if ( MODSERIAL_THR_HAS_SPACE && MODSERIAL_TX_BUFFER_EMPTY && dmaSendChannel == -1 ) { _THR = (uint32_t)c; } else {