picoproj: clarify that when AM7XXX_ZOOM_TEST is set no image gets sent
authorAntonio Ospite <ospite@studenti.unina.it>
Sun, 14 Oct 2012 16:23:04 +0000 (18:23 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Sun, 14 Oct 2012 16:23:04 +0000 (18:23 +0200)
examples/picoproj.c

index b13a67c..045f386 100644 (file)
@@ -260,8 +260,10 @@ int main(int argc, char *argv[])
        }
 
        /* When setting AM7XXX_ZOOM_TEST don't display the actual image */
        }
 
        /* When setting AM7XXX_ZOOM_TEST don't display the actual image */
-       if (zoom == AM7XXX_ZOOM_TEST)
+       if (zoom == AM7XXX_ZOOM_TEST) {
+               printf("AM7XXX_ZOOM_TEST requested, not sending actual image.\n");
                goto cleanup;
                goto cleanup;
+       }
 
 
        if ((unsigned int)width > device_info.native_width ||
 
 
        if ((unsigned int)width > device_info.native_width ||