fix serialReconnectTime

This commit is contained in:
htmltiger 2023-06-18 02:30:57 +01:00 committed by GitHub
parent 69cc1b5a09
commit c04f66665b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,7 +236,7 @@ module.exports = function(RED) {
binoutput = serialConfig.bin, binoutput = serialConfig.bin,
addchar = serialConfig.addchar, addchar = serialConfig.addchar,
responsetimeout = serialConfig.responsetimeout, responsetimeout = serialConfig.responsetimeout,
serialReconnectTime = serialConfig.responsetimeout; serialReconnectTime = serialConfig.serialReconnectTime;
var id = port; var id = port;
// just return the connection object if already have one // just return the connection object if already have one
// key is the port (file path) // key is the port (file path)