X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/4d0be794ad88966fa3ac1f434a98b77d618d988f..6262005e88c7c9edff4c0f962ca338ffb2a299fb:/hmland.c?ds=sidebyside diff --git a/hmland.c b/hmland.c index a9d9670..c50022c 100644 --- a/hmland.c +++ b/hmland.c @@ -455,7 +455,7 @@ static int comm(int fd_in, int fd_out, int master_socket, int flags) memset(out, 0, sizeof(out)); out[0] = 'K'; wait_for_h = 1; - hmcfgusb_send_null_frame(dev); + hmcfgusb_send_null_frame(dev, 1); hmcfgusb_send(dev, out, sizeof(out), 1); while(!quit) { @@ -482,7 +482,7 @@ static int comm(int fd_in, int fd_out, int master_socket, int flags) quit = 1; } else { /* periodically wakeup the device */ - hmcfgusb_send_null_frame(dev); + hmcfgusb_send_null_frame(dev, 1); } } }