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:
- 11:1fdb94ae6563
- Parent:
- 0:7b4c00e3912f
- Child:
- 12:af1d7e18b868
--- a/BCN.cpp Mon Apr 11 17:26:46 2016 +0000 +++ b/BCN.cpp Wed Apr 13 17:00:25 2016 +0000 @@ -19,6 +19,7 @@ uint8_t BCN_STANDBY = 0; //hardcoding for now //check where is this variable toggled?? uint8_t BCN_TS_BUFFER; // For Temperature +uint8_t BCN_FAIL_COUNT=0; //bcn fail count added void P_BCN_INIT() { @@ -74,6 +75,7 @@ { Set_BCN_TX_STATUS(BCN_TX_FAILURE); BCN_TX_MAIN_STATUS = 0; + BCN_FAIL_COUNT+=1; } }