diff options
author | Kévin Redon <kredon@sysmocom.de> | 2018-09-08 08:22:56 +0200 |
---|---|---|
committer | Kévin Redon <kredon@sysmocom.de> | 2018-09-08 08:22:56 +0200 |
commit | 5b5d24ebf355c9165d94db9b4079c84bfed1fa72 (patch) | |
tree | a86d5e75ffa1b7bd74859f41c8a2215da7239c7d | |
parent | faf1e88e48c216456bdea6060a623b7c31f07c70 (diff) |
owhw: set the right simtrace USB ID in usb2udp
Change-Id: I0b54c2eb98b3fad1e2afaf9b81fbe4518b01fbda
-rw-r--r-- | host/usb2udp.c | 4 |
1 files 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 <libusb.h> -#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; |