From 91bd3c1a7a2da307c0570e112321fae650a57fe5 Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 12 Nov 2016 12:59:17 -0800 Subject: [PATCH] Reinitialize the DL11 receive buffer on reset --- modules/pdp11/lib/serialport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pdp11/lib/serialport.js b/modules/pdp11/lib/serialport.js index 5dd0be8aa..5918e0c61 100644 --- a/modules/pdp11/lib/serialport.js +++ b/modules/pdp11/lib/serialport.js @@ -462,7 +462,7 @@ SerialPortPDP11.prototype.initState = function(data) this.rbuf = 0; this.rcsr = 0; this.xcsr = PDP11.DL11.XCSR.READY; - // this.abReceive = []; + this.abReceive = []; return true; };