mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
12 lines
395 B
Diff
12 lines
395 B
Diff
--- a/ch341a_spi.c
|
|
+++ b/ch341a_spi.c
|
|
@@ -444,7 +444,7 @@
|
|
return -1;
|
|
}
|
|
|
|
- libusb_set_debug(NULL, 3); // Enable information, warning and error messages (only).
|
|
+ libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO); // Enable information, warning and error messages (only).
|
|
|
|
uint16_t vid = devs_ch341a_spi[0].vendor_id;
|
|
uint16_t pid = devs_ch341a_spi[0].device_id;
|