Raj Patel / Mbed 2 deprecated RoboticMappingControl

Dependencies:   mbed mbed-rtos Motor LSM9DS1_Library_cal X_NUCLEO_53L0A1

Revision:
20:d9a373fecd42
Parent:
19:41d0cc14edc5
--- a/main.cpp	Thu Apr 25 18:53:13 2019 +0000
+++ b/main.cpp	Thu Apr 25 22:13:21 2019 +0000
@@ -12,7 +12,7 @@
 int trajectoryLength = 0;
 int* trajectory = new int[0];
 uint32_t lidarDistance = 0;
-bool useImu = false;
+volatile bool useImu = false;
 
 void getLidarDistance() {
     DevI2C* lidarDevice = new DevI2C(p28, p27);