diff --git a/main.js b/main.js index 62addaf..435456f 100644 --- a/main.js +++ b/main.js @@ -808,15 +808,9 @@ function parseConfig(callback) { function main() { parseConfig(options => { let Modbus; - /* - if (options.config.slave) { - Modbus = require(__dirname + '/lib/slave'); - } else { - Modbus = require(__dirname + '/lib/master'); - } + Modbus = require(__dirname + '/lib/master'); modbus = new Modbus(options, adapter); modbus.start(); - */ }); }