People Counter / Mbed 2 deprecated person_counter

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

Revision:
22:8f262e8f65b4
Parent:
21:4fef6bf7582c
Child:
23:f877b13f22b7
diff -r 4fef6bf7582c -r 8f262e8f65b4 main.cpp
--- a/main.cpp	Sun Apr 26 21:08:00 2020 +0000
+++ b/main.cpp	Sun Apr 26 21:08:58 2020 +0000
@@ -321,9 +321,6 @@
                     ++numAway;
                     counter++;
                     state = 1;
-                }else 
-                {
-                    counter++; //Other case to incriment if neither towards or away
                 }
            //
            //right now just adding to main counter