Updated EPS code with flowchart v2.3 (CDMS and HW faults)

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of QM_BAE_review_1_EPS_faults by Mohamed Azad

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;
                         
                     }
              }