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.
Diff: x_nucleo_53l0a1.cpp
- Revision:
- 9:367d1f390cb2
- Parent:
- 2:58b5e9097aa3
- Child:
- 11:ceaa5a026412
--- a/x_nucleo_53l0a1.cpp Wed Dec 07 14:49:50 2016 +0000
+++ b/x_nucleo_53l0a1.cpp Wed Jun 07 12:53:53 2017 +0000
@@ -84,7 +84,7 @@
printf("Sensor centre present\n\r");
n_dev++;
}
-/* status=sensor_left->InitSensor(NEW_SENSOR_LEFT_ADDRESS);
+ status=sensor_left->InitSensor(NEW_SENSOR_LEFT_ADDRESS);
if(status)
{
delete sensor_left;
@@ -98,8 +98,8 @@
printf("Sensor left present\n\r");
n_dev++;
}
-*/
-/* status=sensor_right->InitSensor(NEW_SENSOR_RIGHT_ADDRESS);
+
+ status=sensor_right->InitSensor(NEW_SENSOR_RIGHT_ADDRESS);
if(status)
{
delete sensor_right;
@@ -113,7 +113,7 @@
printf("Sensor right present\n\r");
n_dev++;
}
-*/
+
if(n_dev==0)
return 1;
else