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:
- 14:a9588f443f1a
- Parent:
- 13:fb7facaf308b
- Child:
- 16:f9e484dc505e
--- a/BCN.cpp Wed Apr 13 21:48:21 2016 +0000
+++ b/BCN.cpp Thu Apr 14 09:34:06 2016 +0000
@@ -12,7 +12,6 @@
Timeout rf_sl_timeout;
Ticker loop;
-
//GLOBAL VARIABLES
uint8_t BCN_INIT_STATUS = 0;
uint8_t BCN_TX_MAIN_STATUS = 0;
@@ -21,7 +20,6 @@
uint8_t BCN_FEN = 0; //hardcoding for now //write this value to flash
uint8_t BCN_STANDBY = 0; //hardcoding for now //check where is this variable toggled??
uint8_t BCN_TS_BUFFER = 0; // For Temperature
-uint8_t BCN_FAIL_COUNT=0;
void FCTN_BCN_INIT()
{
@@ -74,7 +72,6 @@
{
Set_BCN_TX_STATUS(BCN_TX_FAILURE);
BCN_TX_MAIN_STATUS = 0;
- BCN_FAIL_COUNT+=1;
}
}
@@ -379,3 +376,12 @@
return 0;
}
}
+/*int main()
+{
+ FCTN_BCN_INIT();
+
+ loop.attach(&FCTN_BCN_TX_MAIN, 10.0);//in actual case its 30.0
+
+ while(1);
+
+}*/
\ No newline at end of file
