mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Fixed const typo
This commit is contained in:
parent
f69407dc6a
commit
71b744dbac
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue