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
On Windows 11 22H2.
If i parse a callback into the serialport.open function the function runns endlessly. And if i don't provide a callback function i just connects.
letstream=newSerialPort({path: address,baudRate: 115200,autoOpen: false,},function(err: any){_this.logger.warning('Failed to connect to SerialPort');_this.logger.warning(err);});this.stream.open((err: Error|null)=>{if(err){if(!isErrorThrown){isErrorThrown=true;onerror(err);}}});
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On Windows 11 22H2.
If i parse a callback into the serialport.open function the function runns endlessly. And if i don't provide a callback function i just connects.
Beta Was this translation helpful? Give feedback.
All reactions