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.
Fork of BAE_vr2_1_1 by
Diff: fault.cpp
- 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) ;
}
