Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 6:028891b5f03b, committed 2016-04-04
- Comitter:
- bhepp
- Date:
- Mon Apr 04 11:19:26 2016 +0000
- Parent:
- 5:c34ebc7f650c
- Commit message:
- Removed automatic retransmission and added clearing sent flag before delayed transmission.
Changed in this revision
| DW1000.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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() {