Fix serial Hexadecimal write (#8035)

This commit is contained in:
Osman Karaketir 2023-03-05 23:46:36 +03:00 committed by GitHub
parent 1e5cfd1d4b
commit c8b5501a5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ export class SerialSession extends BaseSession {
}
write (data: Buffer): void {
this.serial?.write(data.toString())
this.serial?.write(data)
}
async destroy (): Promise<void> {