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.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of BAE_CODE_MARCH_2017 by
Diff: BCN.cpp
- Revision:
- 83:78b6a62cdf6a
- Parent:
- 82:9117fc24d09d
- Child:
- 84:afbedc6ed804
--- a/BCN.cpp Sat Dec 10 15:07:13 2016 +0000 +++ b/BCN.cpp Sun Dec 11 15:21:34 2016 +0000 @@ -175,6 +175,11 @@ BCN_TX_MAIN_STATUS = 0; timer_Set_BCN_TX_STATUS_SUSPENDED.stop(); } + else if(BCN_SW == 0) + { + BCN_TX_STATUS = BCN_TX_DISABLED; + BCN_TX_MAIN_STATUS = 0; + } else { //transmit short beacon and long beacon @@ -609,7 +614,7 @@ writereg(RF22_REG_07_OPERATING_MODE1,0x00); //standby mode if( readreg(RF22_REG_07_OPERATING_MODE1) & 0x08 == 0x08 ) { - BCN_SW = 0; //active low + BCN_SW = 0; //active high BCN_TX_SW_STATUS = 3; } }