Skip to content
Snippets Groups Projects
Commit 22dc0036 authored by echicken's avatar echicken
Browse files

Respect the new ax25Client.wait property; don't send any I frames to the...

Respect the new ax25Client.wait property; don't send any I frames to the client until this is false try reading bibble.
parent f057f10a
Branches
Tags
No related merge requests found
......@@ -74,6 +74,8 @@ while(!js.terminated) {
}
// Check for data waiting on any sockets
for(var c in ax25Clients) {
if(ax25Clients[c].wait)
continue;
if(ax25Clients[c].sock.data_waiting && ax25Clients[c].nr == ax25Clients[c].ssv && !ax25Clients[c].reject) {
var sendMe = ax25Clients[c].sock.recvfrom(false, 256).data;
sendMe = stringToByteArray(sendMe);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment