uint32_t new_hmid = my_hmid;
hmuartlgw_set_debug(debug);
- hmuartlgw_set_debug(1);
- 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);