X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/23d96b595c0767c55240095f213704f6eeb6b35f..e09806b632a86c2b18fc4b129e10ab23e898b0dc:/hmland.c diff --git a/hmland.c b/hmland.c index 15b46ab..f963e2b 100644 --- a/hmland.c +++ b/hmland.c @@ -359,6 +359,7 @@ static int comm(int fd_in, int fd_out, int master_socket, int flags) memset(out, 0, sizeof(out)); out[0] = 'K'; + hmcfgusb_send_null_frame(dev); hmcfgusb_send(dev, out, sizeof(out), 1); while(!quit) { @@ -558,7 +559,7 @@ static int socket_server(char *iface, int port, int flags) (client_addr & 0x0000ff00) >> 8, (client_addr & 0x000000ff)); } - + sleep(1); } return EXIT_SUCCESS;