This commit is contained in:
Eugene Pankov
2020-03-01 16:33:24 +01:00
parent a4dc6832f3
commit 316b77ec7b
3 changed files with 5 additions and 5 deletions

View File

@@ -105,9 +105,9 @@ export class SerialSession extends BaseSession {
this.executeUnconditionalScripts()
}
write (data: string): void {
write (data: Buffer): void {
if (this.serial) {
this.serial.write(data)
this.serial.write(data.toString())
}
}