Commit c8812a9bfb82c4cb4c6c94b3c623a2794d24a379

Authored by Adhidarma Hadiwinoto
1 parent eab32ea271
Exists in master

Modem port based on config

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -36,7 +36,7 @@ class Modem extends EventEmitter {
36 36 open(cb) {
37 37 const self = this;
38 38  
39   - this.port = new SerialPort('/home/adhisimon/ttyUSB0ksa');
  39 + this.port = new SerialPort(this.portName);
40 40  
41 41 this.port.on('error', function(err) {
42 42 if (cb) cb(err);