Prosper Van / xbeeCom

Fork of com by Prosper Van

Files at this revision

API Documentation at this revision

Comitter:
oprospero
Date:
Sun Nov 02 19:18:11 2014 +0000
Parent:
21:117e01fc0373
Commit message:
Clean up

Changed in this revision

com.cpp Show annotated file Show diff for this revision Revisions of this file
queueChar/queueChar.h Show annotated file Show diff for this revision Revisions of this file
--- a/com.cpp	Thu Oct 23 04:46:10 2014 +0000
+++ b/com.cpp	Sun Nov 02 19:18:11 2014 +0000
@@ -38,14 +38,12 @@
 
 void com::callback()
 {
-    __disable_irq();
     while(xbee.readable())
     {
         char data = xbee.getc();
-        xbee.putc(data);
+//        xbee.putc(data);
         rxBuffer.add(data);
     }
-    __enable_irq();
 }
 
 bool com::isData()
--- a/queueChar/queueChar.h	Thu Oct 23 04:46:10 2014 +0000
+++ b/queueChar/queueChar.h	Sun Nov 02 19:18:11 2014 +0000
@@ -14,7 +14,7 @@
 
 using namespace std;
 
-const int MAXQUEUECHARLENGTH = 12;
+const int MAXQUEUECHARLENGTH = 64;
 
 class queueChar
 {