bae integrated final (may be)

Dependencies:   mbed-rtos mbed

Fork of BAE_FRDMTESIN2 by Seeker of Truth ,

Revision:
6:e65b1ab79f36
Parent:
5:255b43e8e21a
Child:
7:f06840d848e3
--- a/fault.cpp	Thu Dec 04 07:17:44 2014 +0000
+++ b/fault.cpp	Tue Dec 09 07:59:56 2014 +0000
@@ -12,17 +12,18 @@
 DigitalIn fault8(FAULT8);
 
 
-DigitalOut clear1(FAULT_CLEAR1);
-DigitalOut clear2(FAULT_CLEAR2);
-DigitalOut clear3(FAULT_CLEAR3);
-DigitalOut clear4(FAULT_CLEAR4);
-DigitalOut clear5(FAULT_CLEAR5);
-DigitalOut clear6(FAULT_CLEAR6);
-DigitalOut clear7(FAULT_CLEAR7);
-DigitalOut clear8(FAULT_CLEAR8);
+DigitalOut clear1(FAULT_CLEAR1,0);
+DigitalOut clear2(FAULT_CLEAR2,0);
+DigitalOut clear3(FAULT_CLEAR3,0);
+DigitalOut clear4(FAULT_CLEAR4,0);
+DigitalOut clear5(FAULT_CLEAR5,0);
+DigitalOut clear6(FAULT_CLEAR6,0);
+DigitalOut clear7(FAULT_CLEAR7,0);
+DigitalOut clear8(FAULT_CLEAR8,0);
 
 DigitalOut acs_active(ACS);
 
+
 BusOut clear(FAULT_CLEAR1,FAULT_CLEAR2,FAULT_CLEAR3,FAULT_CLEAR4,FAULT_CLEAR5,FAULT_CLEAR6,FAULT_CLEAR7,FAULT_CLEAR8);//to send fault data along with hk
 
 extern SensorData Sensor;
@@ -32,7 +33,7 @@
 
 void FAULTS()
 {
-    
+        
         printf("Entered Fault management \n");
         clear1 = !fault1; 
         clear2 = !fault2;