Re: LibUSB Wrapper
- Posted by Icy_Viking Apr 02, 2023
- 500 views
katsmeow said...
Your .e tests for WINDOWS , LINUX , FREEBSD but not APPLE or anything else. This could cause the test for usb = -1 to not fail (you initialised it to zero) and the program run on to crash. I set vars to fail and get the code to "fix" the value so it is acceptable to run.
I was looking for a feature list, a reason to use the library, or a list of requirements, i didn't find one.
Kat
I'll add a check for Apple OS devices. LibUSB is a library for sending data to and from USB devices.
EDIT: The check for OSX is now in the code.