Skip to content

Commit 247ee2b

Browse files
committed
bump panda for new USB VID
1 parent e317485 commit 247ee2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

selfdrive/pandad/panda_comms.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ PandaUsbHandle::PandaUsbHandle(std::string serial) : PandaCommsHandle(serial) {
3636
for (size_t i = 0; i < num_devices; ++i) {
3737
libusb_device_descriptor desc;
3838
libusb_get_device_descriptor(dev_list[i], &desc);
39-
if (desc.idVendor == 0xbbaa && desc.idProduct == 0xddcc) {
39+
if (desc.idVendor == 0x3801 && desc.idProduct == 0xddcc) {
4040
int ret = libusb_open(dev_list[i], &dev_handle);
4141
if (dev_handle == NULL || ret < 0) { goto fail; }
4242

@@ -110,7 +110,7 @@ std::vector<std::string> PandaUsbHandle::list() {
110110
libusb_device *device = dev_list[i];
111111
libusb_device_descriptor desc;
112112
libusb_get_device_descriptor(device, &desc);
113-
if (desc.idVendor == 0xbbaa && desc.idProduct == 0xddcc) {
113+
if (desc.idVendor == 0x3801 && desc.idProduct == 0xddcc) {
114114
libusb_device_handle *handle = NULL;
115115
int ret = libusb_open(device, &handle);
116116
if (ret < 0) { goto finish; }

0 commit comments

Comments
 (0)