From be33ec11a38d66cde8d801d44555bd03d3261ecc Mon Sep 17 00:00:00 2001 From: Alan Ott Date: Sat, 10 Sep 2011 17:20:32 -0400 Subject: [PATCH] Call hid_close() at the end of testgui.cpp. --- hidtest/hidtest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hidtest/hidtest.cpp b/hidtest/hidtest.cpp index e1dddd4..ef4c29d 100644 --- a/hidtest/hidtest.cpp +++ b/hidtest/hidtest.cpp @@ -178,6 +178,8 @@ int main(int argc, char* argv[]) printf("%02hhx ", buf[i]); printf("\n"); + hid_close(handle); + #ifdef WIN32 system("pause"); #endif