From 5b5d24ebf355c9165d94db9b4079c84bfed1fa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Redon?= Date: Sat, 8 Sep 2018 08:22:56 +0200 Subject: owhw: set the right simtrace USB ID in usb2udp Change-Id: I0b54c2eb98b3fad1e2afaf9b81fbe4518b01fbda --- host/usb2udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/usb2udp.c b/host/usb2udp.c index c25920f..97ffad0 100644 --- a/host/usb2udp.c +++ b/host/usb2udp.c @@ -35,7 +35,7 @@ #include -#include "simtrace.h" +#include "simtrace_usb.h" #include "simtrace_prot.h" #include "apdu_dispatch.h" #include "simtrace2-discovery.h" @@ -243,7 +243,7 @@ int main(int argc, char **argv) libusb_set_pollfd_notifiers(NULL, &libusb_fd_added_cb, &libusb_fd_removed_cb, NULL); - g_devh = libusb_open_device_with_vid_pid(NULL, SIMTRACE_USB_VENDOR, SIMTRACE_USB_PRODUCT); + g_devh = libusb_open_device_with_vid_pid(NULL, USB_VENDOR_OPENMOKO, USB_PRODUCT_OWHW_SAM3); if (!g_devh) { fprintf(stderr, "can't open USB device\n"); goto close_exit; -- cgit v1.2.3