Forked from upstream.

Dependencies:   GR-PEACH_video mbed

Fork of TraceMark_Program_60fps by Micon Car Rally

Revision:
2:dd32c5987b14
Parent:
1:4a94c87a7d04
--- a/main.cpp	Tue Jan 10 04:59:48 2017 +0000
+++ b/main.cpp	Sat Jan 14 07:17:19 2017 +0000
@@ -420,6 +420,7 @@
         /* right side */
         if( (digital_sensor()&0x04) == 0x04 ) {
             pattern = 11;
+            break;
         }
         switch( (digital_sensor()&0x0f) ) {
             case 0x08:
@@ -927,7 +928,7 @@
 //------------------------------------------------------------------//
 void digital_sensor_process( unsigned char *Binary )
 {
-    int             Ypix;
+    int             Ypix;   // !!!! not initilazed !!!!
     int             offset_Y;
     unsigned char   sensor, data;