diff --git a/terminus-serial/src/services/serial.service.ts b/terminus-serial/src/services/serial.service.ts index 0b79061a..aacb1c44 100644 --- a/terminus-serial/src/services/serial.service.ts +++ b/terminus-serial/src/services/serial.service.ts @@ -31,7 +31,7 @@ export class SerialService { async connectSession (session: SerialSession): Promise { 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,