]> git.zerfleddert.de Git - hmcfgusb/blobdiff - hmland.c
always show timing warning, not only when debugging is enabled
[hmcfgusb] / hmland.c
index 15b46ab7a5c4b0dbfd2404a55fd2f14b393c95ea..f963e2b4b785ebb0da94c2657e12b687de27810f 100644 (file)
--- 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;
Impressum, Datenschutz