flash-hmmoduart: add utility to upgrade firmware on HM-MOD-UART
[hmcfgusb] / hmsniff.c
index c35b29dd0ef0cc8458d31fff023626aceeeb0c77..01afe05788f00b41597bb0c02d691de687708174 100644 (file)
--- a/hmsniff.c
+++ b/hmsniff.c
@@ -323,7 +323,7 @@ int main(int argc, char **argv)
                        buf[1] = speed;
                        hmcfgusb_send(dev.hmcfgusb, buf, 2, 1);
                } else {
-                       dev.hmuartlgw = hmuart_init(uart, parse_hmuartlgw, &rdata);
+                       dev.hmuartlgw = hmuart_init(uart, parse_hmuartlgw, &rdata, 1);
                        if (!dev.hmuartlgw) {
                                fprintf(stderr, "Can't initialize HM-MOD-UART!\n");
                                exit(1);
Impressum, Datenschutz