projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
79143da
)
picoproj: clarify that when AM7XXX_ZOOM_TEST is set no image gets sent
author
Antonio Ospite <ospite@studenti.unina.it>
Sun, 14 Oct 2012 16:23:04 +0000
(18:23 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Sun, 14 Oct 2012 16:23:04 +0000
(18:23 +0200)
examples/picoproj.c
patch
|
blob
|
history
diff --git
a/examples/picoproj.c
b/examples/picoproj.c
index
b13a67c
..
045f386
100644
(file)
--- a/
examples/picoproj.c
+++ b/
examples/picoproj.c
@@
-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 ||