diff --git a/main.js b/main.js index b69d2cb..7fbfb40 100644 --- a/main.js +++ b/main.js @@ -251,9 +251,9 @@ function prepareConfig(config) { let options = { config: { type: 'tcp', - round: parseInt(params.round, 10) || 0, - timeout: parseInt(params.timeout, 10) || 5000, - defaultDeviceId: (params.deviceId === undefined || params.deviceId === null) ? 1 : (parseInt(params.deviceId, 10) || 0), + round: 0, + timeout: 5000 +// defaultDeviceId: (params.deviceId === undefined || params.deviceId === null) ? 1 : (parseInt(params.deviceId, 10) || 0), }, devices: {} };