xbee communication for UWB quadcopter project Originally by Greg Abdo Forking to reduce impact of interrupt by moving packetbuilder out of the interrupt and letting be handled in the main loop

Fork of com by Prosper Van

Revision:
16:89695823d407
Parent:
8:951c71c71b2d
--- a/queue/queue.cpp	Wed Aug 27 06:20:23 2014 +0000
+++ b/queue/queue.cpp	Thu Sep 25 02:30:25 2014 +0000
@@ -39,7 +39,6 @@
     // Is the queue empty?
     if( front == NULL ) // Check the front pointer.
         return true;    // Queue is empty, return true.
-    
     return false;       // There is atleast one item, not empty.
 }
 
@@ -89,7 +88,6 @@
 
     if( isEmpty() )
         front = newNode;        // Set front to the new node.
-        
     else    
     {
         queueNode *temp = front;
@@ -116,7 +114,7 @@
     short* dataHold = front->data;  // Keep track of what were returning. 
     queueNode * oldNode = front;    // Save the old node to be deleted
     front = front->next;            // Set front to next object.
-                                    
+
     delete oldNode;                 // Delete the front node.                     
     length--;                       // Remove one from the length.
     return dataHold;                // return the stuctureItem.