mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 09:27:24 +00:00
build fix
This commit is contained in:
parent
c4204167cd
commit
3676b90c9f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export class SerialService {
|
|||
async connectSession (session: SerialSession): Promise<SerialPort> {
|
||||
const serial = new SerialPort(session.connection.port, {
|
||||
autoOpen: false,
|
||||
baudRate: parseInt(session.connection.baudrate),
|
||||
baudRate: parseInt(session.connection.baudrate as any),
|
||||
dataBits: session.connection.databits,
|
||||
stopBits: session.connection.stopbits,
|
||||
parity: session.connection.parity,
|
||||
|
|
Loading…
Reference in a new issue