Added functionality for getting error strings from codes

This commit is contained in:
2020-01-12 16:13:15 -05:00
parent afe7b1bbd6
commit 41d3ae8550
3 changed files with 47 additions and 6 deletions

View File

@@ -46,4 +46,6 @@ int ctrl_transfer(struct pwned_device *dev,
int reset(struct pwned_device *dev);
int serial_descriptor(struct pwned_device *dev, unsigned char *serial_buf, int len);
const char *usb_error_name(int ret);
#endif //CHECKM8_TOOL_LIBUSB_HELPERS_H