projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
picoproj: remove one of two consecutive blank lines
[libam7xxx.git]
/
examples
/
picoproj.c
diff --git
a/examples/picoproj.c
b/examples/picoproj.c
index
b13a67c
..
e15b2a2
100644
(file)
--- a/
examples/picoproj.c
+++ b/
examples/picoproj.c
@@
-221,7
+221,6
@@
int main(int argc, char *argv[])
goto cleanup;
}
goto cleanup;
}
-
ret = am7xxx_close_device(dev);
if (ret < 0) {
perror("am7xxx_close_device");
ret = am7xxx_close_device(dev);
if (ret < 0) {
perror("am7xxx_close_device");
@@
-260,8
+259,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 ||