Call hid_close() at the end of testgui.cpp.

This commit is contained in:
Alan Ott
2011-09-10 17:20:32 -04:00
parent 169bc1b8d9
commit 6bc4484358
+2
View File
@@ -178,6 +178,8 @@ int main(int argc, char* argv[])
printf("%02hhx ", buf[i]);
printf("\n");
hid_close(handle);
#ifdef WIN32
system("pause");
#endif