Commit 5fe4d52a authored by martin hou's avatar martin hou

fix: 优先读取而后decode

parent 371743e5
......@@ -442,8 +442,8 @@ function Jensen(log, conn) {
device.transferIn(2, RECV_BUFF_SIZE).then((r) => {
// Logger.save?.('jensen', 'tryReceive', r?.data);
// console.log(pid + '-Receive', new Date().toLocaleString(), r?.data);
receive(r);
tryReceive();
receive(r);
}).catch((e) => {
// console.log('tryReceive error', e)
// if (!channelHealthy) self.onerror?.(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment