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 RAJANGAM_REVIEW_BAE_CODE by
Diff: BCN.cpp
- Revision:
- 50:6001287f3045
- Parent:
- 49:61c9f28332ba
- Child:
- 51:661dc022613a
--- a/BCN.cpp Thu Jul 14 23:04:26 2016 +0000
+++ b/BCN.cpp Mon Jul 18 06:36:25 2016 +0000
@@ -138,9 +138,12 @@
int begintx,endtx;
BCN_TX_MAIN_STATUS = 1;
BCN_TX_MAIN_COUNTER++;
+ printf("BCN_FEN = %d\n\r",BCN_FEN);
if(BCN_FEN == 1)
{
- if(BCN_TX_SW_STATUS == 0b00000001)
+ printf("BCN_TX_SW_STATUS = %d\n\r",BCN_TX_SW_STATUS);
+ //if(BCN_TX_SW_STATUS == 0b00000001)
+ if(BCN_TX_SW_STATUS != 0b00000000)
{
timer_Init_BEACON_HW.reset();
timer_Init_BEACON_HW.start();
@@ -156,6 +159,7 @@
BCN_TMP = temp_temp;
pc_bcn.printf("temperature = %d\n\r",BCN_TMP);
//Get BCN_HK data from BCN HW(SPI) //Store BCN_HK data in BCN_HK_BUFFER
+ printf("BCN_SPND_TX = %d\n\r",BCN_SPND_TX);
if(BCN_SPND_TX == 1 )
{
timer_Set_BCN_TX_STATUS_SUSPENDED.reset();
@@ -652,6 +656,7 @@
void FCTN_BCN_SPND_TX()
{
+ printf("BCN_SPND\n\r");
BCN_SPND_TX = 1;
if( BCN_TX_MAIN_STATUS == 1 && BCN_TX_SW_STATUS == 1 )
{
