Fixed const typo

This commit is contained in:
Amila Welihinda 2017-07-26 14:10:22 -07:00 • committed by Francis Gulotta
parent f69407dc6a
commit 71b744dbac

View file

@ -381,7 +381,7 @@ const MockBinding = SerialPort.Binding;
// Create a port and enable the echo and recording.
MockBinding.createPort('/dev/ROBOT', { echo: true, record: true })
cont port = new SerialPort('/dev/ROBOT')
const port = new SerialPort('/dev/ROBOT')
```
### Debugging