don't need bufPtr
This commit is contained in:
parent
1ed0c88c32
commit
0ccc6d0892
|
@ -42,7 +42,6 @@ onmessage = function(event) {
|
||||||
// define buffer for reading from fifo
|
// define buffer for reading from fifo
|
||||||
const BUFFER_SIZE = 4096;
|
const BUFFER_SIZE = 4096;
|
||||||
var buf = ctypes.char.array(BUFFER_SIZE)("");
|
var buf = ctypes.char.array(BUFFER_SIZE)("");
|
||||||
var bufPtr = buf.address();
|
|
||||||
|
|
||||||
while(true) {
|
while(true) {
|
||||||
// open fifo (this will block until something writes to it)
|
// open fifo (this will block until something writes to it)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user