From d55595b5c1c9905d6cf572f8cb107b329408705c Mon Sep 17 00:00:00 2001 From: Alden-wrk <168357057+Alden-wrk@users.noreply.github.com> Date: Wed, 15 May 2024 15:03:43 +0800 Subject: [PATCH] Update port_handler.js --- js/port_handler.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/port_handler.js b/js/port_handler.js index 2f23678a8..182893fa8 100755 --- a/js/port_handler.js +++ b/js/port_handler.js @@ -8,7 +8,8 @@ const ConnectionSerial = require('./connection/connectionSerial'); var usbDevices = [ { 'vendorId': 1155, 'productId': 57105}, - { 'vendorId': 11836, 'productId': 57105} + { 'vendorId': 11836, 'productId': 57105}, + { 'vendorId': 12619, 'productId': 262}, // APM32 DFU Bootloader ]; @@ -297,4 +298,4 @@ PortHandler.flush_callbacks = function () { return killed; }; -module.exports = { usbDevices, PortHandler }; \ No newline at end of file +module.exports = { usbDevices, PortHandler };