projects
/
rigol
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
713be7a
)
don't try to build an image with broken data
author
Michael Gernoth
<michael@gernoth.net>
Sun, 6 Jun 2010 19:00:27 +0000
(21:00 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 6 Jun 2010 19:00:27 +0000
(21:00 +0200)
commands.c
patch
|
blob
|
blame
|
history
diff --git
a/commands.c
b/commands.c
index cb8dd6d2d59f4aa9473d1d684b597a608f8fb081..1b243a2ed41392f448bc8e51dbde4cf9b16721bc 100644
(file)
--- a/
commands.c
+++ b/
commands.c
@@
-123,6
+123,7
@@
unsigned char* get_lcd(struct scope *sc, int *imglen, int keylock)
if (l != sizeof(screen)) {
printf ("hmm. didnt' get %d bytes, but %d\n\n", (int)sizeof(screen), l);
+ return NULL;
}
png = lcd2png(screen, imglen);
Impressum
,
Datenschutz