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.
Dependents: DISCO_IOT-wifi_client
Fork of stm-spirit1-rf-driver by
Diff: source/NanostackRfPhySpirit1.cpp
- Revision:
- 58:4208689e447e
- Parent:
- 53:b036a3a850e6
- Child:
- 59:5dbfc9faf1c5
--- a/source/NanostackRfPhySpirit1.cpp Fri Apr 28 14:11:53 2017 +0200
+++ b/source/NanostackRfPhySpirit1.cpp Mon May 15 14:59:13 2017 +0200
@@ -91,8 +91,10 @@
/*Check if transmitter is busy*/
if(rf_device->is_receiving()) { /* betzw - WAS: (rf_device->channel_clear() != 0)), do NOT use this but rather study and enable automatic CCA */
+#ifdef HEAVY_TRACING
tr_debug("%s (%d)", __func__, __LINE__);
-
+#endif
+
/* Release Lock */
rf_if_unlock();
@@ -632,7 +634,9 @@
/*Send the packet*/
rf_device->send((uint8_t*)buffer, 3);
+#ifdef HEAVY_TRACING
tr_debug("%s (%d), hdr=%x, nr=%x", __func__, __LINE__, buffer[0], ptr[0]);
+#endif
}
if(signals & RF_SIG_CB_TX_DONE) {
