flash-hmmoduart: add utility to upgrade firmware on HM-MOD-UART
[hmcfgusb] / flash-ota.c
index a4a0fef50611c4f79a34159e23108b2990edef63..2a7a815ce59cc78a646575c3fe20ad042e6abc2c 100644 (file)
@@ -705,7 +705,7 @@ int main(int argc, char **argv)
 
                hmuartlgw_set_debug(debug);
 
-               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(EXIT_FAILURE);
Impressum, Datenschutz