You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In usb/usb_tool.js, the startup() routine is invoked through a setTimeout when a new USB device is added. Determine if this issue exists on platforms other than MacOS (Windows, Linux) and see if there's a cleaner solution to the issue.
usbDetect.on('add',function(usb_port){if((usb_port.manufacturer.toLowerCase().includes('arduino'))||usb_port.manufacturer.toLowerCase().includes('teensyduino')){// usb-detection seems to discover devices before SerialPort has access to them// not the prettiest solution but adding a small delay resolves these issues on Mac// TODO: test to see if these issues occur on Windows and LinuxsetTimeout(startup,500);}});
The text was updated successfully, but these errors were encountered:
In
usb/usb_tool.js
, the startup() routine is invoked through a setTimeout when a new USB device is added. Determine if this issue exists on platforms other than MacOS (Windows, Linux) and see if there's a cleaner solution to the issue.The text was updated successfully, but these errors were encountered: