This function frees all of the static data associated with HIDAPI.
exit_success = hid_exit()
frees all of the static data associated with HIDAPI
This function frees all of the static data associated with HIDAPI. It should be called at the end of execution to avoid memory leaks.
init_success=hid_init(); if ( init_success < 0 ) then disp("unable to initialize the HIDAPI Library"); return else disp("HIDAPI Library initialized"); end exit_success=hid_exit(); if ( init_success < 0 ) then disp("unable to free static data associated with HIDAPI Library"); return else disp("HIDAPI Library have been freed all of the static data associated"); end | ![]() | ![]() |