Tomo Yamanaka / Mbed 2 deprecated ImageZoomInout_Sample

Dependencies:   GR-PEACH_video GraphicsFramework R_BSP mbed-rtos mbed

Fork of RGA_HelloWorld by Renesas

Files at this revision

API Documentation at this revision

Comitter:
1050186
Date:
Fri May 13 07:10:27 2016 +0000
Parent:
4:ffbd2a93b02f
Child:
6:6cad61e4a4c1
Commit message:
Change main.cpp

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri May 13 06:41:17 2016 +0000
+++ b/main.cpp	Fri May 13 07:10:27 2016 +0000
@@ -202,8 +202,8 @@
     Display.Graphics_Start(DisplayBase::GRAPHICS_LAYER_0);
     lcd_cntrst.write(1.0);
 
+    int work_height_pos = ZOOM_MAX_NUM;
     while (1) {
-        int work_height_pos = ZOOM_MAX_NUM;
         distance = get_distance();
         /* range of use = 10-30[cm] */
         if ((distance >= 10) && (distance <= 30)) {