Simple driver for DWM1000 modules.

Revision:
6:028891b5f03b
Parent:
5:c34ebc7f650c
diff -r c34ebc7f650c -r 028891b5f03b DW1000.cpp
--- a/DW1000.cpp	Thu Mar 31 15:36:39 2016 +0000
+++ b/DW1000.cpp	Mon Apr 04 11:19:26 2016 +0000
@@ -73,8 +73,6 @@
     if (irq != NULL) {
         irq->enable_irq();
     }
-
-    //startRX();
 }
 
 void DW1000::setCallbacks(void (*callbackRX)(void), void (*callbackTX)(void)) {
@@ -241,7 +239,6 @@
     
     stopTRX();                                                      // stop receiving
     writeRegister8(DW1000_SYS_CTRL, 0, 0x02);                       // trigger sending process by setting the TXSTRT bit
-//    startRX();                                                      // enable receiver again
 }
 
 void DW1000::sendDelayedFrame(uint8_t* message, uint16_t length, uint64_t TxTimestamp) {
@@ -264,7 +261,6 @@
 
     stopTRX();                                                      // stop receiving
     writeRegister8(DW1000_SYS_CTRL, 0, 0x02 | 0x04);                // trigger sending process by setting the TXSTRT and TXDLYS bit
-//    startRX();                                                      // enable receiver again
 }
 
 void DW1000::startRX() {