FINAL ACS TO BE USED FOR TESTING. COMMISSIONING, ACS MAIN, DATA ACQ ALL DONE.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of ACS_FULL_Flowchart_BAE by
Diff: BCN.cpp
- Revision:
- 14:a9588f443f1a
- Parent:
- 13:fb7facaf308b
--- 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