From ae40cadf75b5308a30ec5aa934c936b60e16c639 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 5 Feb 2018 21:08:44 -0800 Subject: [PATCH] Shim for serial.writeBuffer (#624) * missing shim * add todo --- sim/state/serial.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sim/state/serial.ts b/sim/state/serial.ts index de7cdf6b..70cf548e 100644 --- a/sim/state/serial.ts +++ b/sim/state/serial.ts @@ -33,6 +33,10 @@ namespace pxsim.serial { board().writeSerial(s); } + export function writeBuffer(buf: RefBuffer) { + // TODO + } + export function readUntil(del: string): string { return readString(); }