Skip to content
Browse files

No reason to croak if can't read ID.

  • Loading branch information...
1 parent dfd0149 commit 4dd5b4d40aa51cd5a8e868ee83443b6002813beb @asciilifeform committed Jan 21, 2012
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);
}

0 comments on commit 4dd5b4d

Please sign in to comment.
Something went wrong with that request. Please try again.