Skip to content

Commit

Permalink
Fix serial Hexadecimal write (#8035)
Browse files Browse the repository at this point in the history
  • Loading branch information
karaketir16 authored Mar 5, 2023
1 parent 1e5cfd1 commit c8b5501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabby-serial/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit c8b5501

Please sign in to comment.