diff --git a/drivers/enttec-open-usb-dmx.js b/drivers/enttec-open-usb-dmx.js index 3c31c67..75a14d3 100644 --- a/drivers/enttec-open-usb-dmx.js +++ b/drivers/enttec-open-usb-dmx.js @@ -17,9 +17,11 @@ function EnttecOpenUsbDMX(device_id, options) { 'stopbits': 2, 'parity': 'none' }, true, function(err) { - if(!err) { - self.start() + if(err) { + console.log(err) + return } + self.start() }) }