Moved to Team 9.

Fork of LineScan by Nicholas Gan

Revision:
37:b76faff78354
Parent:
20:e9f0d1483ba1
Child:
38:1ac5f0ab5ae6
--- a/LineScan.cpp	Sat Apr 25 02:42:06 2015 +0000
+++ b/LineScan.cpp	Thu Nov 19 23:00:20 2015 +0000
@@ -138,6 +138,8 @@
         if(*h_walker > *l_walker && (*h_walker - *l_walker) < out_width && (*h_walker - *l_walker) > 3){
             out_width = *h_walker - *l_walker;
             out = ((float)(*h_walker + *l_walker)) / (2.0 * (float)frameLen);    //0.5 is center
+            return out;
+            
             l_walker++;
         }
         h_walker++;