From f20137d2ac524dd9dc0c7073fbc0f5f4e266b371 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Mon, 7 Feb 2022 13:10:53 +0100 Subject: [PATCH] Improve USB device open log For consistency with "List USB devices", log "Open USB device". --- app/src/usb/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/usb/usb.c b/app/src/usb/usb.c index 1b5f4a5d..f2dab658 100644 --- a/app/src/usb/usb.c +++ b/app/src/usb/usb.c @@ -195,7 +195,7 @@ sc_usb_connect(struct sc_usb *usb, libusb_device *device, const struct sc_usb_callbacks *cbs, void *cbs_userdata) { int result = libusb_open(device, &usb->handle); if (result < 0) { - LOGE("Open device: libusb error: %s", libusb_strerror(result)); + LOGE("Open USB device: libusb error: %s", libusb_strerror(result)); return false; }