mirror of
https://github.com/Eugeny/tabby
synced 2024-12-04 18:40:16 +00:00
fixed #8134 - can't change serial session baudrate
This commit is contained in:
parent
2a8b7c3e79
commit
4e6b1d2ed2
1 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@ import { SerialSession, BAUD_RATES, SerialProfile } from '../api'
|
|||
})
|
||||
export class SerialTabComponent extends BaseTerminalTabComponent<SerialProfile> {
|
||||
session: SerialSession|null = null
|
||||
serialPort: any
|
||||
Platform = Platform
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
||||
|
@ -114,7 +113,7 @@ export class SerialTabComponent extends BaseTerminalTabComponent<SerialProfile>
|
|||
name: x.toString(), result: x,
|
||||
})),
|
||||
)
|
||||
this.serialPort.update({ baudRate: rate })
|
||||
this.session?.serial.update({ baudRate: rate })
|
||||
this.profile.options.baudrate = rate
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue