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.
Fork of stm-spirit1-rf-driver by
Diff: SimpleSpirit1.cpp
- Revision:
- 33:c226804be492
- Parent:
- 31:a4d8072139f2
--- a/SimpleSpirit1.cpp Mon Nov 21 10:04:43 2016 +0100
+++ b/SimpleSpirit1.cpp Mon Nov 21 13:26:17 2016 +0100
@@ -222,6 +222,8 @@
debug("\n\r%s (%d): state=%x, _spirit_tx_started=%d\n\r", __func__, __LINE__, SPIRIT1_STATUS()>>1, _spirit_tx_started);
#endif
+ _spirit_tx_started = false; // in case of state timeout
+
csma_ca_state(S_DISABLE); // disable CSMA/CA
cmd_strobe(SPIRIT1_STROBE_RX); // Return to RX state
