Forked from upstream.
Dependencies: GR-PEACH_video mbed
Fork of TraceMark_Program_60fps by
Revision 2:dd32c5987b14, committed 2017-01-14
- Comitter:
- osaboh
- Date:
- Sat Jan 14 07:17:19 2017 +0000
- Parent:
- 1:4a94c87a7d04
- Commit message:
- Fix: bug; ; 1. add 'break' to switch of right side; 2. add comment for attention.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4a94c87a7d04 -r dd32c5987b14 main.cpp --- 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;