MODSERIAL with support for more devices

Fork of MODSERIAL by Erik -

Revision:
20:59c74aaedda2
Parent:
12:8c7394e2ae7f
Child:
27:9c93ce7cb9d8
--- a/MACROS.h	Thu Apr 21 09:39:50 2011 +0000
+++ b/MACROS.h	Tue Apr 26 08:12:45 2011 +0000
@@ -63,8 +63,8 @@
 #define MODSERIAL_TX_BUFFER_FULL  (buffer_count[TxIrq]==buffer_size[TxIrq])
 #define MODSERIAL_RX_BUFFER_FULL  (buffer_count[RxIrq]==buffer_size[RxIrq])
 
-#define MODSERIAL_THR_HAS_SPACE (int)_LSR&MODSERIAL_LSR_THRE
-#define MODSERIAL_TEMT_IS_EMPTY (int)_LSR&MODSERIAL_LSR_TEMT
-#define MODSERIAL_RBR_HAS_DATA  (int)_LSR&MODSERIAL_LSR_RDR
+#define MODSERIAL_THR_HAS_SPACE ((int)_LSR&MODSERIAL_LSR_THRE)
+#define MODSERIAL_TEMT_IS_EMPTY ((int)_LSR&MODSERIAL_LSR_TEMT)
+#define MODSERIAL_RBR_HAS_DATA  ((int)_LSR&MODSERIAL_LSR_RDR)
 
 #endif