sakthi priya amirtharaj / Mbed 2 deprecated BAE_vr2_1_3

Dependencies:   mbed-rtos mbed

Fork of BAE_vr2_1_1 by green rosh

Revision:
14:ef6be8ac6569
Parent:
13:1b37d98840d3
--- a/fault.cpp	Wed Dec 17 05:25:04 2014 +0000
+++ b/fault.cpp	Wed Dec 17 06:06:59 2014 +0000
@@ -42,7 +42,7 @@
 BusOut clear_ir(FAULT_CLEAR5,FAULT_CLEAR6,FAULT_CLEAR7,FAULT_CLEAR8,FAULT_CLEAR9);
 
 
-extern SensorDataQuantised SensorQuantised;
+extern SensorData Sensor;
 extern int beacon_sc;  //to switch beacon between low and high power mode
 extern int acs_pflag;  //to activate/deactivate control algo  
 char out_poll;
@@ -94,9 +94,9 @@
         
         out_poll = clear_poll;
         out_ir = clear_ir;
-        SensorQuantised.faultpoll = fault_poll ;
-        SensorQuantised.faultir=fault_ir ;
-        printf(" %d , %d \n %d , %d\n",SensorQuantised.faultpoll, SensorQuantised.faultir , out_poll , out_ir) ;
+        Sensor.faultpoll = fault_poll ;
+        Sensor.faultir=fault_ir ;
+        printf(" %d , %d \n %d , %d\n",Sensor.faultpoll, Sensor.faultir , out_poll , out_ir) ;
         
 }