sakthi priya amirtharaj
/
BAE_vr2_gingerbread2
mag n gyro included
Fork of BAE_vr2_gingerbread2 by
Diff: fault.cpp
- Revision:
- 1:bd715ccef1bb
- Parent:
- 0:e9c32e1df869
diff -r e9c32e1df869 -r bd715ccef1bb fault.cpp --- a/fault.cpp Wed Dec 17 06:52:26 2014 +0000 +++ b/fault.cpp Wed Dec 17 09:18:36 2014 +0000 @@ -52,7 +52,7 @@ { printf("Entered Fault management \n"); - if(fault0==0)printf("CHARGER IS CHARGING THE BATTERY "); + /*if(fault0==0)printf("CHARGER IS CHARGING THE BATTERY "); if(fault0==1)printf("CHRGER GONE OFFLINE, BATTERY DRAINING"); if(fault1==0) @@ -73,7 +73,7 @@ if(fault4==0) { clear4=1;printf("");} else - { clear4=0;} + { clear4=0;}*/ @@ -92,11 +92,11 @@ //clear8 = !fault8; - out_poll = clear_poll; - out_ir = clear_ir; + // 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) ; + printf(" %d , %d \n ",SensorQuantised.faultpoll, SensorQuantised.faultir ) ; }