Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No reason to croak if can't read ID.

  • Loading branch information...
commit 4dd5b4d40aa51cd5a8e868ee83443b6002813beb 1 parent dfd0149
@asciilifeform authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ezotgdbg.c
View
4 ezotgdbg.c
@@ -213,9 +213,9 @@ void usb_connect() {
conn_res = usb_get_string_simple(devh, 1, id_buf, BUFSIZE);
if (conn_res < 0) {
printf("Error reading manufacturer ID!\n");
- exit(1);
+ } else {
+ printf("Chip Manufacturer ID='%s'\n", id_buf);
}
- printf("Chip Manufacturer ID='%s'\n", id_buf);
}
Please sign in to comment.
Something went wrong with that request. Please try again.