People Counter / Mbed 2 deprecated person_counter

Dependencies:   mbed mbed-rtos 4DGL-uLCD-SE HC_SR04_Ultrasonic_Library

Revision:
11:f5d0c8bf1849
Parent:
10:7a939a54515e
Child:
12:bebfef8d229f
--- a/main.cpp	Fri Apr 24 03:00:36 2020 +0000
+++ b/main.cpp	Fri Apr 24 03:01:15 2020 +0000
@@ -21,7 +21,7 @@
 
 volatile int musicChoice = 0;
 //musicChoice can be values 0 to 3
-voltatile int sdist = 0;
+volatile int sdist = 0;
 void sonar(int distance)
 {
     //put code here to execute when the sonar distance has changed