Skip to content
Snippets Groups Projects
Commit d96d81be authored by echicken's avatar echicken :chicken:
Browse files

Well that's just super. :|

parent 3a78f64a
Branches
No related tags found
No related merge requests found
......@@ -27,13 +27,6 @@ export default class SocketDevice extends Device {
this.host = host;
this.port = port;
this.socket = new js.global.Socket();
function hb(this: Device) {
this.getChannel(0, (mp: protobuf.Mesh.MeshPacket): boolean => {
js.global.writeln(JSON.stringify(mp));
return true;
});
}
js.setInterval(hb.bind(this), 30000, this);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment