diff --git a/README.md b/README.md index 83f2601..0bc7f42 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,9 @@ int main(int argc, char* argv[]) for (i = 0; i < 4; i++) printf("buf[%d]: %d\n", i, buf[i]); + // Close the device + hid_close(handle); + // Finalize the hidapi library res = hid_exit();