Radio Structures in OOP

Dependencies:   mbed mbed-rtos

Revision:
5:146523a0d1f4
Parent:
4:989d51f3e6ef
Child:
6:4a3dbfbc30f1
--- a/modules/CommModule/CommModule.h	Sat Jan 03 11:04:31 2015 +0000
+++ b/modules/CommModule/CommModule.h	Wed Jan 14 17:46:44 2015 +0000
@@ -44,7 +44,6 @@
     
     template <typename T>
     void RxHandler(T *tptr, void(T::*mptr)(RTP_t*), uint8_t portNbr) {
-        _rxH_called = true;
         ready();
         _rx_handles[portNbr].attach(tptr, mptr);
     }
@@ -64,6 +63,8 @@
     void send(RTP_t&);
 
     void receive(RTP_t&);
+    
+    //osThreadId rxID(void);
 
 protected:
     // NOP function for keeping a oommunication link active
@@ -107,7 +108,6 @@
     FunctionPointerRJ   _tx_handles[COMM_MODULE_NBR_PORTS];
     
     bool    _txH_called;
-    bool    _rxH_called;
 
     // Ignore for now
     // bool _dynamic_stack;